Warning: License for package Android SDK Platform 29 not accepted

148 views
Skip to first unread message

David Wafula

unread,
Apr 24, 2020, 2:41:49 AM4/24/20
to CodenameOne Discussions
Hi,

My android builds just started failing:

"com.android.builder.errors.EvalIssueException: Failed to install the following Android SDK packages as some licences have not been accepted.
   platforms;android-29 Android SDK Platform 29
To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.
Alternatively, to transfer the license agreements from one workstation to another, see http://d.android.com/r/studio-ui/export-licenses.html
"
...

"* What went wrong:
A problem occurred evaluating root project 'RixmaM'.
> Could not find method jackOptions() for arguments [build_cccwb3aksuzd8p4d8kq5h3gea$_run_closure1$_closure5$_closure11@2aabe12a] on DefaultConfig_Decorated{name=main, dimension=null, minSdkVersion=DefaultApiVersion{mApiLevel=16, mCodename='null'}, targetSdkVersion=DefaultApiVersion{mApiLevel=28, mCodename='null'}, renderscriptTargetApi=null, renderscriptSupportModeEnabled=null, renderscriptSupportModeBlasEnabled=null, renderscriptNdkModeEnabled=null, versionCode=116, versionName=1.16, applicationId=net.rixma.mobile, testApplicationId=null, testInstrumentationRunner=null, testInstrumentationRunnerArguments={}, testHandleProfiling=null, testFunctionalTest=null, signingConfig=null, resConfig=null, mBuildConfigFields={}, ..
mResValues={}, mProguardFiles=[], mConsumerProguardFiles=[], mManifestPlaceholders={}, mWearAppUnbundled=null} of type com.android.build.gradle.internal.dsl.DefaultConfig.
-- 

Happy to provide full log if that is more helpful.

Thanks

David W

Shai Almog

unread,
Apr 25, 2020, 12:03:43 AM4/25/20
to CodenameOne Discussions
Hi,
this was an issue with the androidX support. It should be resolved now.

David Wafula

unread,
Apr 26, 2020, 1:42:20 AM4/26/20
to CodenameOne Discussions
Fantastic...

On Sat, 25 Apr 2020, 06:03 Shai Almog, <shai....@gmail.com> wrote:
Hi,
this was an issue with the androidX support. It should be resolved now.

--
You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/2c5219b9-7333-4f21-befe-522ae9022cae%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages