I doubt we support the beta version of Android Studio at the moment. I don't think that's normal though.
On Monday, May 17, 2021 at 8:09:50 PM UTC+3 [email protected] wrote: > I'm still trying to do an android build but have a new problem. After > trying to rebuild the code on Android Studio 4.2 beta, I get the message: > > Failed to find Platform SDK with path: platforms;android-0 > > I looked into my build.gradle file and see compileSdkVersion and > targetSdkVersion set to zero. Is that normal? -Dennis > > On Saturday, May 15, 2021 at 4:58:41 PM UTC-4 Dennis Rogers wrote: > >> Never mind the last post. I think I've resolved it :-| >> >> On Saturday, May 15, 2021 at 11:37:29 AM UTC-4 Dennis Rogers wrote: >> >>> I built the project for the device and it said I needed to run the >>> project, ~/IdeaProject/MyProject/android/target/.... >>> When I do that, using android-studio, I get the error: >>> >>> Error: Cause >>> org.jetbrains.plugins.gradle.tooling.util.ModuleComponetnIdentifierimpl.getModuleIdentifier()Lorg/gradle/api/artifacts/ModuleIdentifier >>> >>> Is there another plugin I need for android-studio? >>> >>> -Dennis >>> >>> On Monday, May 10, 2021 at 11:10:21 PM UTC-4 Shai Almog wrote: >>> >>>> The Codename One menu isn't applicable for the Maven projects. You no >>>> longer need the plugin when working with Maven. Just select the target >>>> from >>>> your IDE. >>>> >>>> On Monday, May 10, 2021 at 8:06:49 PM UTC+3 [email protected] wrote: >>>> >>>>> I've migrated to maven and am able to run the project on the >>>>> simulator. When I try to run it on a device, however, I can't access the >>>>> "Codename one" menu. How do I build to a device ? >>>>> >>>>> On Wednesday, April 28, 2021 at 9:56:23 PM UTC-4 Shai Almog wrote: >>>>> >>>>>> Yes. What matters is the gradle version. I suggest using Gradle 6.5 >>>>>> and defining android.appBundle=true in the build hints. >>>>>> >>>>>> Also you can migrate to maven (if you aren't there already) and do a >>>>>> local build. This will launch Android Studio seamlessly upon build so >>>>>> you >>>>>> can debug. See this: >>>>>> https://shannah.github.io/cn1-maven-archetypes/cn1app-archetype-tutorial/getting-started.html#android >>>>>> >>>>>> On Thursday, April 29, 2021 at 1:43:31 AM UTC+3 [email protected] >>>>>> wrote: >>>>>> >>>>>>> Can I debug on an android device with android studio 4+? If not >>>>>>> which version should I use? >>>>>> >>>>>> -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/78fefaf5-a91f-4113-9f84-510e8b1e260an%40googlegroups.com.
