Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Get Android Application to Run on Device?

Hey guys, ive just finished an application using Netbeans and im trying to figure out how to get the application onto my phone (HTC ONE M8).

 

any help would be great,

 

thank.

ASUS RTX 2080 Super ROG STRIX | AMD Ryzen 9 3900XT | ASUS ROG STRIX X570-F Gaming | Corsair Vengeance PRO RBG 16GB 3600MHz | NZXT Kraken X73 | Lian-Li PC-011 Dynamic | x9 CoolerMaster MF120 Halo

Link to post
Share on other sites

Not sure what netbeans is but I assume it's some kind of developing program..

Is there an option to export it as .apk and move that to your phone's storage?

 

I cant find that option anywhere. 

ASUS RTX 2080 Super ROG STRIX | AMD Ryzen 9 3900XT | ASUS ROG STRIX X570-F Gaming | Corsair Vengeance PRO RBG 16GB 3600MHz | NZXT Kraken X73 | Lian-Li PC-011 Dynamic | x9 CoolerMaster MF120 Halo

Link to post
Share on other sites

Right click on your project and click "export signed android package"

He I've looked at that, but when I right click on it I get no such options.

ASUS RTX 2080 Super ROG STRIX | AMD Ryzen 9 3900XT | ASUS ROG STRIX X570-F Gaming | Corsair Vengeance PRO RBG 16GB 3600MHz | NZXT Kraken X73 | Lian-Li PC-011 Dynamic | x9 CoolerMaster MF120 Halo

Link to post
Share on other sites

Not sure how Android development works in Netbeans, but I don't think it comes with any tools for that out of the box, so you would have to rely on a plugin for Netbeans to do that.

 

I suggest you download Android Studio instead, it has everything you need for Android development, including gradle so you can build all those 3rd party libraries, a designer for your layouts, IntelliJ IDEA's awesome code inspector and much much more.

Link to post
Share on other sites

If you can produce an .apk file. You can simply transfer that to your phone and you can install and run your application. (Note that with this method make sure the option to install unknown applications is checked)  

 

If this is not possible, I would suggest switching IDE's. Eclipse with Android plugin and Android Studio are very user friendly when developing for android. Also, both are free but Android Studio is still in beta (I think) so there may still be some small bugs in it. 

Link to post
Share on other sites

Forget about NetBeans please.

Install Android Studio.

With only one click your debugger will install your app on your device and realtime debug so you dont have to transfer files or anything .

Android Studio the greatest IDE for java+Android that you can possibly have.

Please, install it and you will have no more questions .

Have  a

  nice day.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×