문제

i have android project created by eclipse i need to compile it to android apk

how can i do it using php ?

also how can i use custom keystore ?

some website do this using .net but can i do this using php ?

or i can run some script using root access to do this and create android apk ?

i cant find something like this in this website

http://www.phpforandroid.net/doku.php

thanks everyone :)

sorry for my bad english :(

도움이 되었습니까?

해결책

First of all, you must be running Android ant. Then, you must run:

ant release

This will compile the APK, but if you also want to sign it, run:

jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore pathtokeystore.keystore pathtounsignedapp.apk alias_name

It will require passwords for the keystore and key. The unsigned apk will be signed in place, and you can just return the apk.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top