Re: Gradle Dependency error for Android add-on

2014-03-07 Thread Eason Lee
I've solved this problem, The root cause is although the G1:G2:19 can be detected by "android list target" command, gradle still can't find this target until I put source.properties into my own addon folder. This's solved after I put source.properties into the folder. Thanks a lot for all your

Re: Gradle Dependency error for Android add-on

2014-03-05 Thread Eason Lee
Below is the more detailed information: eason@eason-PC:~//android-sdk_linux-x86/add-ons$ ll total 32 drwxrwxr-x 8 eason eason 4096 2014-03-06 14:15 ./ drwxrwxr-x 11 eason eason 4096 2014-03-04 18:45 ../ drwxrwxr-x 6 eason eason 4096 2014-02-11 15:02 addon-google_apis-google-16/ drwxrwxr-x 6

Re: Gradle Dependency error for Android add-on

2014-03-05 Thread Eason Lee
Below is the more detailed infomation: eason@eason-PC:~/xxx/android-sdk_linux-x86/add-ons$ ll total 32 drwxrwxr-x 8 eason eason 4096 2014-03-06 14:15 ./ drwxrwxr-x 11 eason eason 4096 2014-03-04 18:45 ../ drwxrwxr-x 6 eason eason 4096 2014-02-11 15:02 addon-google_apis-google-16/ drwxrwxr-x 6 e

Re: Gradle Dependency error for Android add-on

2014-03-05 Thread Eason Lee
hello, Yes, I can see my addon when ./android list target, and the sdk indeed contains the addon id: 8 or "G1:G2:19" Name: G2 Type: Add-On Vendor: G1 Revision: 1 Description: Android + Google APIs Based on Android 4.4.2 (API level 19) Libraries: I stiil

Re: Gradle Dependency error for Android add-on

2014-03-05 Thread Xavier Ducrohet
"Caused by: java.lang.IllegalStateException: failed to find target G1:G2:19" Are you sure you are pointing Gradle to the right SDK that contains this add-on? In that sdk if you run "tools/android list target" do you see your add-on? On Wed, Mar 5, 2014 at 7:07 PM, Eason Lee wrote: > Hello Xav

Re: Gradle Dependency error for Android add-on

2014-03-05 Thread Eason Lee
Hello Xavier, Thanks a lot your help. In first, I would like to inform that I created "own" directory in addon folder, which the manifest.ini is listed as previous described. Here comes the error msg that with --stracetrace option eason@eason-PC:~/xxx/xxxMapView$ ../gradlew assembleRelease --s

Re: Gradle Dependency error for Android add-on

2014-03-05 Thread Xavier Ducrohet
can you launch it with --stacktrace and post the whole trace? On Wed, Mar 5, 2014 at 6:43 PM, Eason Lee wrote: > Hi all gradle experts. > > I've set the manifest.ini and build.gradle as below: > > > name=G2 > vendor=G1 > description=Android + Google APIs > # version of the Android platform on

Re: Gradle Dependency error for Android add-on

2014-03-05 Thread Eason Lee
Hi all gradle experts. I've set the manifest.ini and build.gradle as below: name=G2 vendor=G1 description=Android + Google APIs # version of the Android platform on which this add-on is built. api=19 # revision of the add-on revision=1 android { compileSdkVersion "G1:G2:19" buildToolsV