apk

android APK within an APK?

做~自己de王妃 提交于 2019-12-18 03:41:49
问题 As stated in my question above, is it possible to have an apk file within another apk? To further explain, here is my situation: I have two apps and the first one calls the other through an intent.. I don't have problem with this.. But what I need is to install only one apk file instead of two. And the first thing that came into my mind is to put a .apk file inside the other .apk file.. I really don't know if this is possible that's why I need your take on this. But if this is not possible, I

Android应用构建:4:Android Studio 3.5.3:无签名方式的APK构建方式

丶灬走出姿态 提交于 2019-12-18 01:25:08
构建的APK文件根据用途分为调试类型(Debug)和发布类型(Release)两种,这篇文章介绍一下这两种类型无签名方式APK文件的生成方法。 APK文件种类 根据使用用途和是否有签名的区别,使用Android Studio可以构建如下APK文件 APK类别 用途 签名 缺省apk文件名称 无签名调试版APK 调试(Debug) 无 app-debug.apk 无签名发布版APK 发布(Release) 无 app-release-unsigned.apk 事前准备 这里使用Android Studio 3.5.3中创建的Demo应用进行使用说明。详细可参看: https://liumiaocn.blog.csdn.net/article/details/103573366 构建方式1: 使用Android Studio菜单选项 使用Android Studio提供的菜单选项可以轻松地生成无签名格式的apk文件,无签名调试版本APK文件生成可以通过如下操作进行:选择Build菜单,点击Build Bundle(s)/APK(s)子菜单,点击Build APK(s)菜单选项即可开始构建 详细使用可参看: * 构建方式2: 使用内置的gradlew进行构建 清除构建结果 执行命令:./gradlew clean liumiaocn:Demo liumiao$ pwd /Users

Google play, I accidentally uploaded production APK, now can't do beta testing

人走茶凉 提交于 2019-12-17 23:33:31
问题 I first accidentally uploaded an APK to production in the google play developer console. Now when I click publish, it actually publishes my app to the play store, even though I have now uploaded to the alpha channel. there is no way to delete the production APK. I hope I don't need to delete the whole app project from google play? 回答1: I contacted google play support. And yes, if you accidentally upload to production, you can no longer test. This was their response: Thanks for contacting

How to generate apk file programmatically through java code

孤街醉人 提交于 2019-12-17 22:37:25
问题 I need to generate or build an APK file through some Java program where I select the Android source project. Suppose I have a button on a web page. When clicked, it generates an .apk file. I have seen we can build the APK file through Ant and Gradle. But this runs through the command shell. I don't want to do it in a command shell. I want to write a Java program. Or maybe I can run shell commands through a Java program. Could anybody guide me on this? Thanks Thanks for the answers you have

is it possible to show widget only for a certain android version?

淺唱寂寞╮ 提交于 2019-12-17 22:33:10
问题 is it possible to show widget in "Add to home screen > Widgets" Dialog only for a certain android version without uploading two APKs and assigning to proper SDK version numbers? 回答1: I have a way to do it without any code e.g.: In your res\values dir create a bools.xml file: <?xml version="1.0" encoding="utf-8"?> <resources> <bool name="honeycombOrAbove">false</bool> </resources> Create a values-v11 dir (for honeycomb or above values), copy the file to it and set the value to true. Then in

How to share split APKs created while using instant-run, within Android itself?

寵の児 提交于 2019-12-17 22:22:19
问题 Background I have an app (here) that, among other features, allows to share APK files. In order to do so, it reaches the file by accessing the path of packageInfo.applicationInfo.sourceDir (docs link here), and just shares the file (using ContentProvider when needed, as I've used here). The problem This works fine in most cases, especially when installing APK files from either the Play Store or from a standalone APK file, but when I install an app using Android-Studio itself, I see multiple

Proguard (R8) negate operator not working to keep anything except certain packages

折月煮酒 提交于 2019-12-17 21:22:06
问题 The negator (exclamation mark) in proguard should allow me to keep anthing but the apache libraries: -keep class !org.apache.** According to those answers. That's the way to go: How to negate classname with Proguard Enable Proguard for only two packages in large Android application Android proguard Ignore All Classes except of one Proguard Android do not obfuscate anything except few classes Proguard: How to keep everything except specific condition? Can we shrink all classes but only

Android APK反编译就这么简单 详解(附图)

巧了我就是萌 提交于 2019-12-17 20:01:01
在学习Android开发的过程你,你往往会去借鉴别人的应用是怎么开发的,那些漂亮的动画和精致的布局可能会让你爱不释手,作为一个开发者,你可能会很想知道这些效果界面是怎么去实现的,这时,你便可以对改应用的APK进行反编译查看。下面是我参考了一些文章后简单的教程详解。 (注:反编译不是让各位开发者去对一个应用破解搞重装什么的,主要目的是为了促进开发者学习,借鉴好的代码,提升自我开发水平。)   转:http://blog.csdn.net/vipzjyno1/article/details/21039349      测试环境: win 7 使用工具: CSDN上下载地址: apktool (资源文件获取) 下载 dex2jar(源码文件获取) 下载 jd-gui (源码查看) 下载 Android反编译整合工具包(最新) 下载 官方最新版本下载地址: apktool (google code) dex2jar (google code) jd-gui (google code)最新版请见 官方 工具介绍: apktool 作用:资源文件获取,可以提取出图片文件和布局文件进行使用查看 dex2jar 作用:将apk反编译成java源码(classes.dex转化成jar文件) jd-gui 作用:查看APK中classes.dex转化成出的jar文件,即源码文件 反编译流程: 一

apk decompile 在线反编译工具-toolfk程序员在线工具网

ⅰ亾dé卋堺 提交于 2019-12-17 19:13:40
本文要推荐的[ToolFk]是一款程序员经常使用的线上免费测试工具箱,ToolFk 特色是专注于程序员日常的开发工具,不用安装任何软件,只要把内容贴上按一个执行按钮,就能获取到想要的内容结果。ToolFk还支持 BarCode条形码在线生成 、 QueryList采集器 、 PHP代码在线运行 、 PHP混淆、加密、解密 、 Python代码在线运行 、 JavaScript在线运行 、 YAML格式化工具 、 HTTP模拟查询工具 、 HTML在线工具箱 、 JavaScript在线工具箱 、 CSS在线工具箱 、 JSON在线工具箱 、 Unixtime时间戳转换 、 Base64/URL/Native2Ascii转换 、 CSV转换工具箱 、 XML在线工具箱 、 WebSocket在线工具 、 Markdown 在线工具箱 、 Htaccess2nginx 转换 、 进制在线转换 、 在线加密工具箱 、 在线伪原创工具 、 在线APK反编译 、 在线网页截图工具 、 在线随机密码生成 、 在线生成二维码Qrcode 、 在线Crontab表达式生成 、 在线短网址生成 、 在线计算器工具 。等20多个日常程序员开发工具,算是一个非常全面的程序员工具箱网站。 網站名稱:ToolFk 網站鏈結: https://www.toolfk.com/ 工具链接: https://www

Difference between apk (.apk) and app bundle (.aab)

北战南征 提交于 2019-12-17 17:55:12
问题 Recently Google brought up a new feature app bundle which is a pretty similar concept to APK except its flexibility and architectural differences. I have read out lots of blog/articles to understand how app bundle works in devices in comparison with APK file. What is the actual internal working process of app bundle and how it works on Android devices starting from Google Play Store? 回答1: App Bundles are a publishing format, whereas APK (Android application PacKage) is the packaging format