In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article focuses on "how to package an Eclipse Android project into an APK file". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to package an Eclipse Android project into an APK file.
After the Eclipse Android project development is completed, the android project file will be packaged into an apk file, and finally downloaded to the real machine to run. The following is the process of individual packaging apk, mainly in the form of picture and text.
In fact, the laziest way is to go directly to the bin directory of the eclipse project to find the file, which is the apk file automatically generated by the eclipse system.
1. Generate keystore
Follow the command line below in C:\ ProgramFiles\ Java\ jdk1.6.0_10\ bin > directory, enter keytool-genkey-aliasandroid.keystore-keyalgRSA-validity100000-keystoreandroid.keystore
Parameter meaning:-validity is mainly the validity period of the certificate, which is written for 100000 days; spaces and backspace keys are all passwords.
After the command is executed, the android.keystore file is generated in the C:\ ProgramFiles\ Java\ jdk1.6.0_10\ bin > directory. As shown in figure 1
Figure-1 generate android.keystore under the command line
2. Eclipse Android generates apk file
Select the items to be packaged, right-click-> Androidtools- > ExportSignedApplicationPackage … As shown in figure 2
Figure-2 Eclipse Android Packaging tool
The next step is to keep next. Only the picture is posted below, not explained.
Step2: select packaged items
Step3: select the generated Eclipse Android.keystore file and enter the password
Step4: select aliaskey and enter password
Step5:*** chooses the directory and file name to generate the androidapk file
At this point, I believe you have a deeper understanding of "how to package an Eclipse Android project into an APK file". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.