apk

WebView.setWebContentsDebuggingEnabled(false) but I am able to debug the code after installing the signed APK

帅比萌擦擦* 提交于 2019-12-13 12:07:40
问题 I am trying to publish my android app created with cordova and while publishing I followed all steps like android:debuggable="false" or even removing this line as its the latest suggestion but the problem is when I install the signed build version in my emulator I am able to debug it ... any help? Update:- As per suggestion I tried .. public class appname extends CordovaActivity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); super.init();

安装APK报错解决方法

烂漫一生 提交于 2019-12-13 12:03:19
adb install xxx.apk 报错,安装APK报错:INSTALL_FAILED_SHARED_USER_INCOMPATIBLE、INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES 、INSTALL_FAILED_ALREADY_EXISTS 1. 安装APK报错:Failure [INSTALL_FAILED_SHARED_USER_INCOMPATIBLE],表示APK需要没有签名或者签名不符合系统签名。 解决方法:使用源码下的 build/target/product/security/ 下的platform.x509.pem 和 platform.pk8(注意这里如MTK源码中需要使用对应build/target/product/security/项目/下的这两个工具),以及源码下的out/host/linux-x86/framework/(这个为编译源码后的目录)下的signapk.jar,共三个工具进行签名。 签名方法:将上述三个apk拷贝到同一个目录下,使用" java -jar signapk.jar platform.x509.pem platform.pk8 待签名名字.apk 签名后名字.apk "命令进行签名。 然后安装即可。 2. 安装APK时报错:Failure [INSTALL_PARSE

App not installed after signed apk

这一生的挚爱 提交于 2019-12-13 11:14:02
问题 I'm trying to install my signed apk, generated from Android Studio 1.5.1, I can not understand why the release version I can not install it, I set debuggable to false , I have only one MainActivity in the Manifest.xml , all looks ok, but the .apk do not install, anyone can explain to me why? P.S I uninstalled the debug version of my phone 回答1: I've solved by launch: adb uninstall my.package.id The app was already uninstall but the data had remained somewhere 来源: https://stackoverflow.com

安卓常见脱壳方法

雨燕双飞 提交于 2019-12-13 09:53:26
安卓常见脱壳方法 之前了解过一些加固方法,像360,乐固,爱加密,梆梆等。很多apk包都经过加壳处理,因此想了解更多内容就需要对加壳的APP进行脱壳处理。 drizzleDumper 1.下载文件 https://www.lanzous.com/i7qbkva 2.将对应系统架构的drizzleDumper移动到根目录/data/local/tmp下,赋予读写执行权限 3.cmd进入到该目录下 执行 ./drizzleDumper 包名 时间 包名:要脱壳应用的包名 时间:单位s,打卡应用后多久后开始脱壳 4.脱壳的文件保存在/data/local/tmp/ 现有样例apk 360/乐固 无法脱壳/小米MIX2S/Android10/其他机型未测试 FDex2 FDex2基于xposed框架实现。 1.下载FDex2 ,VXP https://www.lanzous.com/b098smcoj 密码:tuoqiao 2.安装FDEX2 和要脱壳的应用到 VXP中。 3.重启VXP,打卡FDEX2选中要脱壳的应用 4.打开被脱的应用 5.生成的dex在data/data/io.va.exposed.virtual/data/user/0/包名/ 现有样例apk 360/乐固 无法脱壳/小米MIX2S/Android10/其他机型未测试 ZjDroid FDex2

Upload APK file to google play [duplicate]

為{幸葍}努か 提交于 2019-12-13 08:48:58
问题 This question already has answers here : Sign Android APK with a certificate that expires further in to the future (4 answers) Closed 3 years ago . I tried to upload an APK file to Google Play and I received this error: You uploaded an APK signed with a certificate that expires too soon. You need to sign your APK with a certificate that expires farther into the future Can you help me solve this problem? keytool.exe -genkey -v -keystore release.keystore -alias TicTacToe -keyalg RSA -keysize

Download APK file using PHP

假装没事ソ 提交于 2019-12-13 08:20:09
问题 I am trying to download an android APK file using php in my PC browser using Chrome. My app is located in a particular path in the server. If I manually FTP the file from server and transfer to my android mobile it installed perfect. But when I downloaded using PHP and transfer the downloaded file to Mobile and while installing it throws 'there was a problem while parsing the package' . Here is my PHP code I use to download header('Content-Type: application/vnd.android.package-archive');

Android google maps not working when it builds into an apk file

你。 提交于 2019-12-13 07:05:24
问题 I am currently developing an android application with google maps as a fragment when i test it and run it on the android studio using an actual device connected via usb on my laptop the google maps fragments works fine but when i build an apk file and install it on the android device the google maps is not working i cannot see the maps but the app is not crashing what is wrong in my project? 回答1: You are using your local system specific API_KEY(having SHA_KEY of your local system) for maps,

android studio java Error:Execution failed for task

回眸只為那壹抹淺笑 提交于 2019-12-13 06:00:54
问题 when i go to generate APK he give me this error Error:Execution failed for task ':android:dexRelease'. com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.7.0_60\bin\java.exe'' finished with non-zero exit value 2 回答1: Add this line in gradle file defaultConfig { // Enabling multidex support. multiDexEnabled true } 来源: https://stackoverflow.com/questions/33594912/android-studio-java-errorexecution-failed-for

Google play developer console shows DS_Store in Native Platforms section of uploaded Apk

ε祈祈猫儿з 提交于 2019-12-13 05:26:04
问题 Native platforms field shows: .DS_Store, armeabi-v7a on play store developer dashboard when I upload my newly built Apk file. How can I remove & ignore .DS_Store files from Android build system? 回答1: This happens when you play a lot with the Finder of Mac OSX in the directories of Android Project. You need to close Finder and remove these files (named .DS_Store) from console with "rm". 来源: https://stackoverflow.com/questions/18080950/google-play-developer-console-shows-ds-store-in-native

Building apk successful but crashes on devices and emulator

别说谁变了你拦得住时间么 提交于 2019-12-13 03:34:53
问题 I am moving a new question from this one implementation 'com.android.support:appcompat-v7:28.0.0' because I solved my problem thanks to the answers but now my app is continuously crashing. This is what happens: I build my apk, I send it to the emulator and to my device (galaxy a6+) and I get a "The program has been shut down" (don't know if terms are technically correct, I am translating from Italian) message after installing successfully. On a galaxy s5 the message is "error during data