apk

Signed APK, “App not installed” in some devices, and in some devices same apk is working fine

一个人想着一个人 提交于 2019-12-20 06:49:12
问题 I am new to android development. I am working on a project which has diffrent activities out of which two use jSon parsing. My problem is, even while testing, my ap is working fine on some devices and failing on some. I have looked numerous answes on this issue, but nothing solves my problems. Also I had some other problems but I solved them by looking on the available answers, but this "not installed" issue remains the same. I have done the following: Created signed apk Signed apk with

Signed APK, “App not installed” in some devices, and in some devices same apk is working fine

眉间皱痕 提交于 2019-12-20 06:49:09
问题 I am new to android development. I am working on a project which has diffrent activities out of which two use jSon parsing. My problem is, even while testing, my ap is working fine on some devices and failing on some. I have looked numerous answes on this issue, but nothing solves my problems. Also I had some other problems but I solved them by looking on the available answers, but this "not installed" issue remains the same. I have done the following: Created signed apk Signed apk with

.apk file build with Rhohub not working on the device

六月ゝ 毕业季﹏ 提交于 2019-12-20 05:56:53
问题 After installing the .apk file in my device ,when i am trying to open it it is saying Unfortunately the application has stopped. Its working fine on my Rhomobile's Android Rhosimulator,then I cant understand why it is saying so. Update: Today I built the .apk file in my local machine which size is 11mb compare to the size of the .apk file which I had built on Rhohub which was 3.5mb,One interesting fact is that the file built on local machine is working but it has created 2 more problems: 1.

installing multiple apks at once

删除回忆录丶 提交于 2019-12-20 03:32:20
问题 I wanted to install multiple APKs at a time because I am having one main app that does everything and all the other apps have a service and an activity that has to be put on the device for the main one to run, would it be best to include them in a zip I know something like this happens because su.zip does something similar 回答1: I had to do something like this for updating my multiple Enterprise APKs. I downloaded the APK from a REST API/ database. Then once I had the file I started the

Android 关于apktool 工具的介绍

时光毁灭记忆、已成空白 提交于 2019-12-20 03:18:40
apktool主要用于逆向apk文件。它可以将资源解码,并在修改后可以重新构建它们。它还可以执行一些自动化任务,例如构建apk 功能 将资源解码成原来的形式(包括resources.arsc,class.dex,9.png和xml) 将解码的资源重新打包成apk/jar 组织和处理依赖于框架资源的APK Smali调试 执行自动化任务 安装方式 参考 https://ibotpeaches.github.io/Apktool/install/ 使用方式 usage: apktool -advance,--advanced prints advance information. -version,--version prints the version then exits usage: apktool if|install-framework [options] <framework.apk> -p,--frame-path <dir> Stores framework files into <dir>. -t,--tag <tag> Tag frameworks using <tag>. usage: apktool d[ecode] [options] <file_apk> -f,--force Force delete destination directory. -o,-

confusing “Upload failed” message in Google Play Console

你离开我真会死。 提交于 2019-12-20 02:55:03
问题 I would like to add a new App to Google Play. I have already some apps signed and published to google play. All with the same key. Now with the new one I get the message : Upload failed You uploaded an APK that is signed with a key that is also used to sign APKs that are delivered to users. Because you are enrolled in App Signing, you should sign your APK with a new key before you upload it. In the console it looks like the following : I am not sure if it has something to do with "Google Play

获得系统权限,修改系统时间 ---- 转

孤者浪人 提交于 2019-12-20 01:42:51
Android中如何修改系统时间(应用程序获得系统权限) 在 android 的API中有提供 SystemClock.setCurrentTimeMillis()函数来修改系统时间,可惜无论你怎么调用这个函数都是没用的,无论模拟器还是真机,在logcat中总会得到"Unable to open alarm driver: Permission denied ".这个函数需要root权限或者运行与系统进程中才可以用。 本来以为就没有办法在应用程序这一层改系统时间了,后来在网上搜了好久,知道这个目的还是可以达到的。 第一个方法简单点,不过需要在Android系统源码的环境下用make来编译: 1. 在应用程序的AndroidManifest.xml中的manifest节点中加入android:sharedUserId="android.uid.system"这个属性。 2. 修改Android.mk文件,加入LOCAL_CERTIFICATE := platform这一行 3. 使用mm命令来编译,生成的apk就有修改系统时间的权限了。 第二个方法麻烦点,不过不用开虚拟机跑到源码环境下用make来编译: 1. 同上,加入android:sharedUserId="android.uid.system"这个属性。 2. 使用eclipse编译出apk文件,但是这个apk文件是不能用的。

Reduce apk size android

不想你离开。 提交于 2019-12-20 01:14:29
问题 I am facing a problem with app size in android. The scenario is, I developed my android app in Android Studio 2.0 and the size of apk was 23 MB. After that, I upgraded my IDE to android studio 2.2 and with little code modification the size of apk boosted to 51 MB. I tried with prorogued and Lint but no advantage. Can Someone help me to tackle the issue. 回答1: 1) Replace all of Images,Icons with vector drawable 2) Turn on pro guard like following goto build.gradleapp level and put these lines *

Where are .dex files located after apk installation?

妖精的绣舞 提交于 2019-12-19 23:23:39
问题 After installation of apk file on android device, where exactly does the dex file get stored or what is done with dex? Could any one please explain how the installation happens on android device? 回答1: The apk file is a compressed archive (actually a .zip in disguise) containing all the files needed for your program. It is stored in the data/app folder. The dex files are contained in this archive, which you can extract with any unzip tool. 回答2: dex files are located in the /data/dalvik-cache

Android remove localizations

无人久伴 提交于 2019-12-19 19:56:29
问题 My app at Play Store does not have any localizations other than the default: English (United States) . This time I created a new apk to update it. And it uses android-support-v7-appcompat library. So when I uploaded the new apk and in the apk details it says 'added 72 new localizations'. These are coming from the values folders in android-support-v7-appcompat (values-af, values-am,...etc). Is this okay or if not, how do I remove the localizations? My app has just one values folder and I do