Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Cant install apk's on my android
Started by filippo66627 Jan 25 2020 01:55 PM

5 replies to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

filippo66627

[GLOBAL: userInfoPane.html]
filippo66627
  • Enthusiast

  • 66 posts
  • Corona SDK

Hello everyone, i just finished my first project on corona. I built it and copied onto my honor connected via usb to the pc. When i try to install and download the apk on my phone it gives me an error saying that the app cannot be installed. Ty all 



[TOPIC: post.html]
#2

roaminggamer

[GLOBAL: userInfoPane.html]
roaminggamer
  • Corona Geek

  • 7,641 posts
  • Corona SDK

1. Have you followed directions on this site?

 

 

https://docs.coronalabs.com/guide/distribution/androidBuild/index.html

 

 

2. Also, have you enabled your android device for development?  

 

You'll need to google this.  Something like

 

enable android version X device for development 

 

where X is the major version number of Android installed on your device: 7, 8, 9, ...

 

Ex: If I do the above search for Android 9 I find a nice video:

https://www.youtube.com/watch?v=5fXQ2Gwg1FY

 

 

Again, you need to search for your specific version of Android because the directions are a little different from version to version.



[TOPIC: post.html]
#3

filippo66627

[GLOBAL: userInfoPane.html]
filippo66627
  • Enthusiast

  • 66 posts
  • Corona SDK

1. Have you followed directions on this site?

 

 

https://docs.coronalabs.com/guide/distribution/androidBuild/index.html

 

 

2. Also, have you enabled your android device for development?  

 

You'll need to google this.  Something like

 

enable android version X device for development 

 

where X is the major version number of Android installed on your device: 7, 8, 9, ...

 

Ex: If I do the above search for Android 9 I find a nice video:

https://www.youtube.com/watch?v=5fXQ2Gwg1FY

 

 

Again, you need to search for your specific version of Android because the directions are a little different from version to version.

yes i did



[TOPIC: post.html]
#4

roaminggamer

[GLOBAL: userInfoPane.html]
roaminggamer
  • Corona Geek

  • 7,641 posts
  • Corona SDK

1. Are you sure USB debugging is enabled on your device?

 

2. Do you see your device when.

 

A. The device is plugged into your computer via USB.

B. You type this command: adb devices

 

 

3. What version of Android are you running?


Edited by roaminggamer, 25 January 2020 - 04:50 PM.

  • agramonte likes this

[TOPIC: post.html]
#5

filippo66627

[GLOBAL: userInfoPane.html]
filippo66627
  • Enthusiast

  • 66 posts
  • Corona SDK

When i type in adb devices it says "adb" is not recognized as an internal or external command, an executable program or batch file

[TOPIC: post.html]
#6

roaminggamer

[GLOBAL: userInfoPane.html]
roaminggamer
  • Corona Geek

  • 7,641 posts
  • Corona SDK

You need to install it.  It doesn't come with Corona.

 

There are directions under LINKS on this page :https://docs.coronalabs.com/guide/basics/debugging/index.html#device-debugging-android  that tell you how to install the tools you need.




[topic_controls]
[/topic_controls]