apk

What is the difference between the apk file in the bin folder and the apk file created through the Export option in Eclipse?

南笙酒味 提交于 2019-12-22 09:17:13
问题 What is the difference between the apk file in the bin folder and the apk file created through the Export option in Eclipse? For debugging purposes, can I directly use the file in the bin folder? Or is it recommended to always "export" the apk file? 回答1: Apk in bin folder is signed with a dummy key used for debugging (Debug Key). Using the export tool, you specify your own unique key (password protected) to identify your Apps. So, for testing and debuging, you can directly use the one in bin

第51天:Android之JEB动态调试smali

别等时光非礼了梦想. 提交于 2019-12-22 07:26:59
1.刷机,刷了大半天,小米,解锁,root终于能用了。 2.解决APK_IDE一些apk反编译失败 3.JEB动态调试 APK_IDE或者其他一些反编译工具在反编译APK的时候可能会报错,有很多种可能吧 1.jdk不匹配 2.apktool版本太低 今天遇到了这个问题,下载了高版本的apktool替换APK_IDE中的apktool即可。 然后学习了一下JEB动态调试。 使用adb install xxxxxx.apk 安装apk,运行。 拖入apk到jeb中,Ctrl+B下断点。 然后点 调试器->开始 附加。 然后正常执行app,就会在指定断点处断下来。 可以查看局部变量。 在VM 终端中可以执行指令: 还有很多用法,我也不会用。 今天几乎所有的时间都刷机了,唉,太菜了。 明天Xman选拔赛,让我这个菜鸡进60吧,一个人学习太难了。 来源: CSDN 作者: J1nX 链接: https://blog.csdn.net/qq_41858371/article/details/103639149

Import Android APK archive?

流过昼夜 提交于 2019-12-22 07:07:16
问题 Can an Android APK archive be imported into another Android project and accessed the same way as a JAR archive can? 回答1: No not in the way you would use a jar. If you have a java library that you want to import into your project you can simply add it as in any other java project. If you have the project files of an app that you want to integrate in you application you can create an android library project out of this app. This enables you to build a R file for the layout objects and drawables

adb - [INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION]

自闭症网瘾萝莉.ら 提交于 2019-12-22 07:02:18
问题 When changing files in an extracted APK, I re-zip it, change the extension to .apk, and install like this: $ adb install CustomAPK.apk 2831 KB/s (41896599 bytes in 14.450s) pkg: /data/local/tmp/CustomAPK.apk Failure [INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION] What is this from? 回答1: Generate a key and sign the apk: Android Developer Website Signing Your App Manually You do not need Android Studio to sign your app. You can sign your app from the command line using standard tools from the

Android ZBar Exception only with Jenkins build

允我心安 提交于 2019-12-22 06:56:09
问题 I have an android project with a QR scan activity. I use the ZBar library for this: http://sourceforge.net/projects/zbar/files/AndroidSDK/ If the project is built on a PC or Mac with exlipse, the app works fine. If it's build by jenkins (same source from git) the app crashes. The Exception I get is: at controller.gui.activity.QRScanActivity.onCreate(Unknown Source) at android.app.Activity.performCreate(Activity.java:4465) at android.app.Instrumentation.callActivityOnCreate(Instrumentation

Android apk expansion file libs problems

依然范特西╮ 提交于 2019-12-22 05:59:39
问题 I'm following the steps in the dev guide to implement the Google Marketplace (Play) Expansion files setup: http://developer.android.com/guide/market/expansion-files.html I'm at the section "Preparing to use the Downloader Library" where I've added the License Lib, Downloader lib and zip lib projects to eclipse and then as libs to my main project. My question is about compatibility. My main project is set to minimum API 8 (Android 2.2), yet the Market Downloader Library (found here: android

App install size the same on different device types

北战南征 提交于 2019-12-22 05:26:32
问题 When I install my app on my main/new phone, the installed size is around 18.5MB and when I install my app on an old Samsung Galaxy Ace (Mk1), for some reason, it installs with pretty much the same size, as you see here: It runs perfectly on my main phone, but obviously, the old Galaxy Ace really struggles with it. Now, I download a random game from the Play Store and with that one you can see the results here: Much better, it takes up less space on the less capable phone than it does on the

How can I convert a jar file into apk format?

旧城冷巷雨未停 提交于 2019-12-22 05:04:52
问题 I need to find a way to convert jar file to apk file. I have reached a road block! 回答1: Is the JAR natively made for Android? If not, you'll have to run it in an emulation layer or something like this: http://microemu.blogspot.com/2008/11/running-java-me-applications-on-android.html Good luck? 回答2: I've never tried this tool, but you can give it a go: http://www.netmite.com/android/srv/1.7/getapk.php If it doesn't work then I think you'll have to use an emulator on the device, or create an

How can I convert a jar file into apk format?

荒凉一梦 提交于 2019-12-22 05:04:36
问题 I need to find a way to convert jar file to apk file. I have reached a road block! 回答1: Is the JAR natively made for Android? If not, you'll have to run it in an emulation layer or something like this: http://microemu.blogspot.com/2008/11/running-java-me-applications-on-android.html Good luck? 回答2: I've never tried this tool, but you can give it a go: http://www.netmite.com/android/srv/1.7/getapk.php If it doesn't work then I think you'll have to use an emulator on the device, or create an

How to know file .apk use to the keystore to sign?

你说的曾经没有我的故事 提交于 2019-12-22 04:42:55
问题 I have a keystore and a apk. is there a tool or a method to check file apk, signed from this keystore? I use Eclipse. Someome help me please. Thanks so much 回答1: Use jarsigner tool: jarsigner -verify -verbose -keystore keystore_file apk_file.apk This command gives output like this: smk 22401 Tue Aug 30 10:20:52 SAMST 2011 res/drawable/about_cover.png smk 1206 Tue Aug 30 10:20:52 SAMST 2011 res/drawable/add_normal.png smk 1430 Tue Aug 30 10:20:52 SAMST 2011 res/drawable/app_icon.png smk 133