Error building app as Android

Hi Corona Community,

I’ve built an app on Corona SDK, and before I ship it, I want to test it on Android to see if everything is working correctly.

I’ve managed to do this on iOS, but doing this for Android has been proving very difficult…

So I downloaded Android Studio, typed

launchctl setenv ANDROID_SDK /Users/<my name>/Library/Android/sdk

in the terminal, and restarted Corona. Then I did

File >> Build >> Android >> Copy to device and launch

but now I’m getting the following errors (even when I connect my laptop to an Android phone via cables):

ERROR: no device detected (if one is attached, try reconnecting it)

ERROR: Device Installation Problem: *adb* encountered an error installing the app:

What am I doing wrong? Again, all I ever wanted to do is to launch my app in an Android environment. It’s been a very complicated and frustrating journey thus far to do something fairly simple…

Please help! Thanks in advance :slight_smile:

This should helphttps://docs.coronalabs.com/guide/distribution/androidBuild/index.htmlhttps://forums.coronalabs.com/topic/61299-cant-get-android-support-working-on-my-mac-need-dumbed-down-steps/

Build the apk then drag it into the device and then on your device open up file manager then install the apk

This should helphttps://docs.coronalabs.com/guide/distribution/androidBuild/index.htmlhttps://forums.coronalabs.com/topic/61299-cant-get-android-support-working-on-my-mac-need-dumbed-down-steps/

Build the apk then drag it into the device and then on your device open up file manager then install the apk