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/7a3bef37-b1c5-49fb-a7d9-7fb0247c32bfn%40googlegroups.com.

Reply via email to