How to create unsigned apk

I am using InteliJ IDEA to create my Android project. I am wondering is this an unsigned apk in the out / production folder?

In another way, I'm trying to create an unsigned apk from the Structure / artifact project ---> Android Application ---> From modul 'MyModule'. Then I set the path where it should be located. After creating the project, MyModule.apk was created, but when I want to install this apk file on my device, he said "The application is not installed."

Please tell me what to do in the artifact to get the result. I assume the resources are not fully added in apk. I read the documents in InteliJ Idea, but I could not get a positive result.

+4
source share
2 answers

I will answer my question. I have found a solution.

UPDATE: I could not install apk bcoz unsigned apk could not be installed. To install, you need to sign it using a certificate (debug or release).

The debug key is signed in the out / production apk folder, not an unsigned one.

If anyone has a problem creating unsigned apk. here's the answer.

If you are using InteliJ IDEA or Android Studio.

https://www.jetbrains.com/idea/help/generating-an-unsigned-release-apk.html

If you are using eclipse, use

APK Eclipse, " Android" > " ". unsigned APK. ( AndroidManifest.xml Eclipse, " APK".)

Ant

Ant, , release ant. , ant , build.xml, :

$ant release

script APK . bin/ -unsigned.apk.

http://developer.android.com/tools/publishing/app-signing.html

+9

unistall (MyModule.apk)?

, , Android SDK, , .

apk : http://developer.android.com/tools/publishing/app-signing.html

0

All Articles