Android Question Launch the app..

Discussion in 'Android Questions' started by catyinwong, Feb 27, 2015.

  1. catyinwong

    catyinwong Active Member Licensed User

    Sorry for being stupid... but I am not sure about how to finally launch the app after completing its design... I have done the "complie (without signing)" and then rename the .ap_ file to .apk, and then copied it to the mobile..
    The installation process started when I pressed the .apk file but the installation failed (without any error message or explanation).. Did I miss something in the process??
     
  2. NJDude

    NJDude Expert Licensed User

    Compile in RELEASE mode.
     
    thedesolatesoul likes this.
  3. catyinwong

    catyinwong Active Member Licensed User

    Have tried both Release mode and obfuscated release mode... neither works..
    What should I do then.... after all these hard work... T^T
     
  4. Troberg

    Troberg Well-Known Member Licensed User

    I've never needed to rename the APK, it has been APK from the start.

    I just connect the device to the computer through USB, select release build (assuming that's what I want), then press the run button. Wait a few seconds and it's up and running. If I want to install it on some other device, I just copy the APK and run it.
     
  5. RandomCoder

    RandomCoder Well-Known Member Licensed User

    The APK is located in the Objects folder of your project. But if you use a space or period (.) in your project name then it will automatically be renamed to result.apk

    If for some reason the device is not connecting to your computer, this APK can be manually copied to the device and run. It would however be better to fix why the compiler isn't connecting, if that is indeed the problem.

    What error messages do you recieve?
     
  6. catyinwong

    catyinwong Active Member Licensed User

    Now that I compile again in the release mode and it works this time. Don't know what the reason is, but thanks everyone for the help~
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice