Wednesday, 15 April 2015

Google Glass compile error on Android Studio -


I'm trying to create a Google Glass app (immersion-based) on Android Studio 1.1.0 and this error throws up

Error: File 'C: \ User \ Administrator \ Android Studio Project \ SamplePapp \ App \ Build \ Intermediate \ Improper- Google Inc.: Grace Development Kit Preview: Path'

I had tried eclipse earlier and it all worked fine but it is a bit strange in Android studios.

Update

Project: build.gradle

  Apply the plugin: 'com.android.application' repositories { Jcenter () flatDir {dirs 'prebuilt-libs'}} Google Inc.:Glass Development Kit Preview: 19 "buildToolsVersion" 21.1.2 "defaultConfig {applicationId" example.com.Sampleapp "minSdkVersion 19 targetSdkVersion 19 versionCode 1 VersionName "1.0"} {compileOptions sourceCompatibility JavaVersion .VERSION_1_7 targetCompatibility JavaVersion.VERSION_1_7} {buildTypes release {minifyEnabled false proguardFiles getDefaultProguardFile ('ProGuard-android.txt'), 'proguard-rules.pro'}}} {dependency compile FileTree (included) Do: ['* .jar'], dir: 'libs')}  

Its Instead you 1.1. You can use the squares of + . Either way, perhaps Grad's incompetence has been done to do something after which Google Inc. to avoid the dot after.

Let me know that this works for you. / P>


No comments:

Post a Comment