apk

Same APK for free and paid versions on Android Market?

白昼怎懂夜的黑 提交于 2019-12-21 02:34:06
问题 Is it possible to list in Google's Android Market a single APK for both free and paid versions? So far, I only found this tip to create a button in the free version that links to the paid versions, but IIUC these are still 2 separate APKs. I also found a reference to creating free/paid versions from same code, but that still refers to 2 separate APKs. What I am interested in is an (Google) Android Market way to provide functionality that is similar to PayPal's MPL (i.e. one app does it all).

adb常用命令

夙愿已清 提交于 2019-12-20 23:38:12
adb connect 127.0.0.1:62001 1. 显示系统中全部Android平台: android list targets 2. 显示系统中全部AVD(模拟器): android list avd 3. 创建AVD(模拟器): android create avd --name 名称 --target 平台编号 4. 启动模拟器: emulator -avd 名称 -sdcard ~/名称.img (-skin 1280x800) 5. 删除AVD(模拟器): android delete avd --name 名称 6. 创建SDCard: mksdcard 1024M ~/名称.img 7. AVD(模拟器)所在位置: Linux(~/.android/avd) Windows(C:\Documents and Settings\Administrator\.android\avd) 8. 启动DDMS: ddms 9. 显示当前运行的全部模拟器: adb devices 10. 对某一模拟器执行命令: abd -s 模拟器编号 命令 11. 安装应用程序: adb install -r 应用程序.apk 12. 获取模拟器中的文件: adb pull <remote> <local> 13. 向模拟器中写文件: adb push <local> <remote

jenkins下Gradle+SDK自动打包apk

梦想与她 提交于 2019-12-20 20:37:47
1、2、3 .前面1、2、3步骤和maven项目构建一致。注意开始构建前需先安装Gradle plugin、Android Lint Plugin插件 4. 安装Gradle plugin插件之后,就可以选择Invoke Gradle script,然后采用Gradle进行构建。 在Gradle version中选择配置好的gradle,在tasks中输入clean build,clean build代表每次都clean了再build,可自行配置命令行。在Force GRADLE_USER_HOME to use workspace上打勾,保存后安卓打包就是部署好了。 构建后存放的默认路径C:\Users\Administrator\.jenkins\jobs\项目 \workspace\app\build\outputs\apk。我们这里选择app-release.apk安装。 来源: https://www.cnblogs.com/xwtcm/p/6373199.html

Questions about Google Play application assets encryption

谁说胖子不能爱 提交于 2019-12-20 15:44:12
问题 Starting from v4.1 Jelly Bean, Google has introduced a new application assets encryption feature for Google Play. Seems that there were some problems when upgrading apps consisting in persistent data being lost after reboot, caused by the change in apk directory (old one was /data/app , and now it is /mnt/asec ). So, when publishing (or updating an already published app) on Google Play, for OS 2.3+, Can I disable this option and publish an unencrypted application? What is the current state of

Apk decompile error: d2j-dex2jar command not found

≡放荡痞女 提交于 2019-12-20 12:36:37
问题 I try to get source code from an .apk I followed the steps from right here Is there a way to get the source code from an APK file? but on Step 2.4 when I wrote on my cmd dex2jar path> d2j-dex2jar classes.dex I get " 'd2j-dex2jar' is not recognized as an internal or external command, operable program or batch files. " any solutions ? 回答1: Use dex2jar classes.dex instead of d2j-dex2jar classes.dex And please check which version of dex2jar is with you. if it is dex2jar-2.x jar file then , please

How to zipalign the apk file in Windows

元气小坏坏 提交于 2019-12-20 10:26:19
问题 I have signed and packaged the Xamarin application and so have created the apk file using Visual Studio. How can I zipalign this file in Windows? 回答1: Make sure you have the Android SDK build-Tools installed then check where your SDK is installed mine was at C:\Program Files(x86)\Android\android-sdk\build-tools\23.0.1\zipalign You will find zipAlign in the android build tools then use it like so: C:\Program Files(x86)\Android\android-sdk\build-tools\23.0.1\zipalign -v 4 infile.apk outfile.apk

Why does adb install <same-packagename-always-release> fail? [duplicate]

允我心安 提交于 2019-12-20 09:22:08
问题 This question already has answers here : Failure [INSTALL_FAILED_ALREADY_EXISTS] when I tried to update my application (6 answers) Closed 6 years ago . I know that adb install will not replace an existing package if it's of a different build type (i.e. debug vs. release). Eclipse also successfully replaces the debug apks whenever I run a debug session. But when I attempt adb install for replacing an existing release apk with another release apk (same package name!), I get a failure message:

How to view the identity of person who signed the apk on Android device?

≡放荡痞女 提交于 2019-12-20 08:36:42
问题 I need to view who signed the application I have installed onto my device. Is this generally possible to do on the device or on PC? 回答1: (assuming you can obtain access to the raw apk file - which you usually can, if you know or make an educated guess of its name and location, even though you can't list the contents of /data on a non-rooted phone) You could open the apk as a zip file and filter the ascii text from the binary content of META-INF/CERT.RSA Or using an actual tool, jarsigner

Self updating app

吃可爱长大的小学妹 提交于 2019-12-20 08:29:33
问题 TL:DR; version ;) my app should run without user interaction (autostart etc works) it should update itself (via apk) without any user interaction rooted devices are possible . problem: querying a newer apk from a server works when starting the apk with a (view?) intent, the "install app" prompt pops and needs a user confirmation How do I solve this without any user interaction? http://code.google.com/p/auto-update-apk-client/ This seems to be a solution, but there must be better approach. I

App Data contains large files

烂漫一生 提交于 2019-12-20 07:27:06
问题 The /data/app/package folder of my app contains large amount of files. This is the breakdown of the files /data/app/package/lib/arm/ folder contains one file libsupportjni.so which is of no use to me and also is not needed by me. This file occupies around 1.1 MB space. /data/app/package/ folder contains one base.apk file of my app which occupies around 22 MB of space. My question is whether is it possible to remove all the file while the IDE(Android Studio) is building the signed apk file.