[codenameone-discussions] Warning: License for package Android SDK Platform 29 not accepted
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 -- 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-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/CAK9Ws2dWV9M745jxNch_EBX%2BFcq4cjPDNmAxzf-7k35emGb47A%40mail.gmail.com.
[codenameone-discussions] Re: Exception: java.lang.ArrayIndexOutOfBoundsException - 0 ui.util.Resources.readMultiImage
How did you edit the multi image? Does the theme open in the designer tool? Is XML team mode on? Does it open with it off? -- 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-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/2d438699-7cf3-4672-9ea0-96da224a6547%40googlegroups.com.
[codenameone-discussions] Exception: java.lang.ArrayIndexOutOfBoundsException - 0 ui.util.Resources.readMultiImage
For some reason when I add a multiimage using the gui editor, then run my app it crashes with the error below. It seems like there is something wrong with the image somehow, I tried resaving in photoshop but it always happens, the only way to fix it is to replace the .res with a backup one. Any ideas whats going on ? java.lang.ArrayIndexOutOfBoundsException: 0 [EDT] 0:0:1,420 - Exception: java.lang.ArrayIndexOutOfBoundsException - 0 at com.codename1.ui.util.Resources.readMultiImage(Resources.java:1099) at com.codename1.ui.util.Resources.readMultiImage(Resources.java:1072) at com.codename1.ui.util.Resources.createImage(Resources.java:1054) at com.codename1.ui.util.Resources.createImage(Resources.java:964) at com.codename1.ui.util.Resources.openFileImpl(Resources.java:309) at com.codename1.ui.util.Resources.openFile(Resources.java:272) at com.codename1.ui.util.Resources.(Resources.java:192) at com.codename1.ui.util.Resources.open(Resources.java:743) at com.codename1.ui.util.Resources.openLayered(Resources.java:705) at com.codename1.ui.util.Resources.openLayered(Resources.java:669) at generated.StateMachineBase.startApp(StateMachineBase.java:57) at generated.StateMachineBase.(StateMachineBase.java:31) at generated.StateMachineBase.(StateMachineBase.java:120) at userclasses.StateMachine.(StateMachine.java:73) at com.pippa.hobmonitor.MyApplication.start(MyApplication.java:49) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.codename1.impl.javase.Executor$3$1.run(Executor.java:261) at com.codename1.ui.Display.processSerialCalls(Display.java:1303) at com.codename1.ui.Display.mainEDTLoop(Display.java:1097) at com.codename1.ui.RunnableWrapper.run(RunnableWrapper.java:120) at com.codename1.impl.CodenameOneThread.run(CodenameOneThread.java:176) java.io.IOException: 0 at com.codename1.ui.util.Resources.open(Resources.java:758) at com.codename1.ui.util.Resources.openLayered(Resources.java:705) at com.codename1.ui.util.Resources.openLayered(Resources.java:669) at generated.StateMachineBase.startApp(StateMachineBase.java:57) at generated.StateMachineBase.(StateMachineBase.java:31) at generated.StateMachineBase.(StateMachineBase.java:120) at userclasses.StateMachine.(StateMachine.java:73) at com.pippa.hobmonitor.MyApplication.start(MyApplication.java:49) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.codename1.impl.javase.Executor$3$1.run(Executor.java:261) at com.codename1.ui.Display.processSerialCalls(Display.java:1303) at com.codename1.ui.Display.mainEDTLoop(Display.java:1097) at com.codename1.ui.RunnableWrapper.run(RunnableWrapper.java:120) at com.codename1.impl.CodenameOneThread.run(CodenameOneThread.java:176) java.lang.NullPointerException at generated.StateMachineBase.initTheme(StateMachineBase.java:110) at generated.StateMachineBase.startApp(StateMachineBase.java:61) at generated.StateMachineBase.(StateMachineBase.java:31) at generated.StateMachineBase.(StateMachineBase.java:120) at userclasses.StateMachine.(StateMachine.java:73) at com.pippa.hobmonitor.MyApplication.start(MyApplication.java:49) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.codename1.impl.javase.Executor$3$1.run(Executor.java:261) at com.codename1.ui.Display.processSerialCalls(Display.java:1303) at com.codename1.ui.Display.mainEDTLoop(Display.java:1097) at com.codename1.ui.RunnableWrapper.run(RunnableWrapper.java:120) at com.codename1.impl.CodenameOneThread.run(CodenameOneThread.java:176) Java Result: 1 -- 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-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/08c1f4fc-da39-4a98-8558-02358a86eeef%40googlegroups.com.