can you launch it with --stacktrace and post the whole trace?
On Wed, Mar 5, 2014 at 6:43 PM, Eason Lee <[email protected]> wrote: > Hi all gradle experts. > > I've set the manifest.ini and build.gradle as below: > > <mainfest.ini> > 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 > > <build.gradle> > android { > compileSdkVersion "G1:G2:19" > buildToolsVersion "19.0.1" > etc. > } > > and try to build, but got the same exception, could someone help me? > Thanks a lot. > > eason@eason-PC:~/xxx/xxxMapView$ ../gradlew assembleRelease --debug > 11:43:06.928 [ERROR] [org.gradle.BuildExceptionReporter] > 11:43:06.930 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build > failed with an exception. > 11:43:06.931 [ERROR] [org.gradle.BuildExceptionReporter] > 11:43:06.931 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong: > 11:43:06.932 [ERROR] [org.gradle.BuildExceptionReporter] Could not > determine the dependencies of task ':xxxMapView:compileReleaseJava'. > 11:43:06.932 [ERROR] [org.gradle.BuildExceptionReporter] > failed to find > target G1:G2:19 > 11:43:06.973 [ERROR] [org.gradle.BuildExceptionReporter] > 11:43:06.973 [ERROR] [org.gradle.BuildExceptionReporter] * Exception is: > 11:43:06.973 [ERROR] [org.gradle.BuildExceptionReporter] > org.gradle.api.GradleException: Could not determine the dependencies of > task ':xxxMapView:compileReleaseJava'. > > > 在 2013年12月11日星期三UTC+8上午9时42分55秒,Xavier Ducrohet写道: >> >> If your addon's manifest.ini file declares the library then this should >> be done automatically when you set compileSdkVersion to be a string made up >> of your addon's properties. The format is "<vendor name>:<name>:<api level>" >> >> >> On Tue, Dec 10, 2013 at 4:27 PM, RB <[email protected]> wrote: >> >>> I have created an Android add-on that I am able to download from the SDK >>> Manager and it appears in my sdk/add-ons folder. >>> >>> How do I add a dependency to this add-on in the build.gradle file >>> without moving the .jar to a libs folder in my project? Basically, I would >>> like to be able to reference apis in this .jar file which is located in the >>> sdk/add-ons folder. I don't want to move the .jar file to a libs folder as >>> that defeats the purpose of making this .jar file available through the SDK >>> Manager. Another reason we want this distributed through the SDK Manager is >>> the add-on will make new AVDs available for developers (we are >>> manufacturing a new device). >>> >>> I appreciate any information on this topic! Thanks. >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "adt-dev" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >> >> >> >> -- >> Xavier Ducrohet >> Android SDK Tech Lead >> Google Inc. >> http://developer.android.com | http://tools.android.com >> >> Please do not send me questions directly. Thanks! >> > -- > You received this message because you are subscribed to the Google Groups > "adt-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- Xavier Ducrohet Android SDK Tech Lead Google Inc. http://developer.android.com | http://tools.android.com Please do not send me questions directly. Thanks! -- You received this message because you are subscribed to the Google Groups "adt-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
