Androidstudio version released

Source: Internet
Author: User

Project Packaging-Build a Release build

1. Menu build = Generate signed APK ...

2. Set the signature to save the directory, password and other information

3. Remember the password and next

4. Select apk save path, Finish.

Publishing error issues and workarounds:

P1. Publish hint error issue, fragment used in construction method passed parameters. Tip To avoid passing parameters in the fragment construction method, you should use Setarguments (Bundle) to pass the parameters. Studio version release prompts the problem, the program can run normally, add the Ignore prompt code in Gradle.app.

Workaround:

Formal packaging to avoid prompting SHARESDK error hints

lintoptions{

Abortonerror false;

}

P2. The release version conflicts with the debug version signature and the APK cannot be installed. After you publish the signature version, you cannot manually install it to a previously installed debug version of the phone, you need to manually uninstall and then reinstall.

Workaround: Reinstall after manual uninstallation

Androidstudio version released

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.