apk

打包中文apk成功总结

守給你的承諾、 提交于 2020-01-23 07:24:35
一、运行环境: vmware 15 pro,版本15.5.1 build-15018445 安装ubuntu18.04 说明:更换国内软件源,详见/etc/apt/sources.list 安装python3 说明:使用系统命令默认安装3.6.9,buildozer构建apk过程中自动下载3.7.1,但是在系统中也发现了3.8版本 安装pip3 说明:更换国内更新源,详见~/.pip/pip.conf 二、部署buildozer环境,基本全部采用官方方法 pip3 install buildozer sudo apt update sudo apt install -y git zip unzip openjdk-8-jdk python3-pip autoconf libtool pkg-config zlib1g-dev libncurses5-dev libncursesw5-dev libtinfo5 cmake libffi-dev pip3 install --user --upgrade cython virtualenv # the --user should be removed if you do this in a venv export PATH=$PATH:~/.local/bin/ 参考:https://cycleuser.gitbooks.io

The output of intel XDK (.apk) is too large ! (android)

别等时光非礼了梦想. 提交于 2020-01-23 07:15:14
问题 i wanna build a web base android application with intel XDK! i tried but the output apk file is too large, My files are totaly 2.4MB but the output is 15.6Mb ! What should I do ? 回答1: As @HoseinBL indicates, 15.6MB is not that large for a typical APK. Which Android build are you using? There are actually three available in the current XDK build system. If you're using the one labeled just "Android" the comments above from @Brad Hill and @Tangocoder apply. If you need to use the Canvas API

Http requests fails only while releasing Android APK

人走茶凉 提交于 2020-01-23 04:39:08
问题 I'm struggling in making my app work on Android APK release, the only scenario it fails is at generating and signing the apk. All http requests doesn't work. (The server is running under SSL) All Scenarios I've tried already: ionic serve -> Works fine. ionic cordova run android --device -> Works fine. Works on emulators as well. Also works fine generating the iOS build: ionic cordova build ios . On Xcode, running build targeting a real device. On Xcode, archiving and uploading it to

Will apk installed manually (not from play store) receive notification when update becomes available?

穿精又带淫゛_ 提交于 2020-01-22 20:34:51
问题 I want to preinstall apk on tablet (know how to do it). Will my tablet receive notification from play store, that update is ready on play store and i should install it? 回答1: To preinstall your APK, you need to be the device OEM; how it gets done depends on your exact environment. If your apk has no native libraries internally, you can safely just place the apk in the firmware image (in the same location with the standard apk suite). Beyond that, you could (for example, similar to what I've

Android APK文件的逆向反编译

不羁的心 提交于 2020-01-22 17:54:34
APK是Android Package的缩写,即Android安装包(APK)。APK是类似Symbian Sis或Sisx的文件格式。通过将APK文件直接传到Android模拟器或Android手机中执行即可安装。APK文件和sis一样,把android sdk编译的工程打包成一个安装程序文件,格式为apk。 APK文件其实是zip格式,但后缀名被修改为apk,通过UnZip解压后,可以看到Dex文件,Dex是Dalvik VM executes的简称,即Android Dalvik执行程序,并非Java ME的字节码而是Dalvik字节码。 APK反编译就是通过使用APK反编译工具将APK文件中的源文件和资源反编译出来,得到的源文件和资源文件可以进行处理后再进行编译,以达到系统解剖分析,个性化定制,汉化等目的。 APK反编译有很多工具,本次实验中我们使用dex2jar工具。dex2jar 是一个用来将 Android 的 Dalvik Executable (.dex) format 文件转成 Java 类文件的工具。该项目地址是: http://code.google.com/p/dex2jar/ 针对JAR包的java反编译工具,我们使用jd-gui工具。jd-gui是针对Java平台的反编译工具,它可以将Java的字节码文件(class文件)反编译获得java文件

How can you protect info contained in an APK?

被刻印的时光 ゝ 提交于 2020-01-22 15:09:11
问题 I assume someone's built an APK decompiler..... What's the best practice to secure sensitive info (like auth parameters for a backend database)? I suppose some kind of middleware would work but that can't do good things for speed. What's the "right way"? 回答1: It's difficult to reverse-engineer Dalvik byte code; my understanding is that there's not a simple mapping back to Java byte code, much less to Java source, particularly if it's gone through ProGuard. However , auth parameters are

Android auto installation of APKs

半腔热情 提交于 2020-01-21 09:41:12
问题 I have a webview which basically is capable of intercepting all sorts of links, video, apks, hrefs. Now, what I want is once I download an APK from a url, that it'll be auto installed: This is part of the shouldOverrideUrlLoading() code: else if(url.endsWith(".apk")) { mWebView.setDownloadListener(new DownloadListener() { public void onDownloadStart(final String url, String userAgent, String contentDisposition, String mimetype, long contentLength) { } }); Intent intent = new Intent(Intent

从Google play上下载apk

喜欢而已 提交于 2020-01-21 04:43:55
如题,帮大家汇总一下网站,但是很多都是选择性的能用,就是有时候能用,有时候不能用: 浏览器插件类型的: Chrome 或者 Firefox添加 APK Downloader插件后,将google play中apk的链接复制到解析框后会生成下载链接 其他方式: https://apkpure.com/ https://www.apkmirror.com/ https://sameapk.com/(亲测可用的,其他的可能看缘分吧) https://apps.evozi.com/apk-downloader/ 另外还有很多第三方网站,如果我提供的方法都不好使,大家可以自己再找找 来源: CSDN 作者: JianfeiMa 链接: https://blog.csdn.net/HardProgrammer/article/details/103998829

Android预置无源码的apk到系统ROM

馋奶兔 提交于 2020-01-21 03:00:08
记录一下如何将不带源码的apk,预置到系统ROM,预置到system/app/目录 (不可卸载) 1. 在packages/apps下面以需要预置的 APK 名字创建文件夹,以预置一个名为HelloWorld的APK为例 2. 将HelloWorld.apk放到packages/apps/HelloWorld下面 3. 在packages/apps/HelloWorld下面创建文件Android.mk,文件内容如下: #此变量指示源文件在开发树中所处的位置。 在这里,构建系统提供的宏函数 my-dir 将返回当前目录(Android.mk 文件本身所在的目录)的路径。 LOCAL_PATH := $(call my-dir) #由构建系统提供, CLEAR_VARS 变量指向一个特殊的 GNU Makefile,后者会清除许多 LOCAL_XXX 变量,GNU Makefile 不会清除 LOCAL_PATH include $(CLEAR_VARS) # Module name should match apk name to be installed # 存储您要构建的模块的名称,每个模块名称必须唯一,且不含任何空格.如果未设置,则默认使用LOCAL_PACKAGE_NAME LOCAL_MODULE := HelloWorld LOCAL_MODULE_TAGS :=

Serverless 微服务实践-移动应用包分发服务

感情迁移 提交于 2020-01-21 01:23:13
背景 阿里云函数计算是事件驱动的全托管计算服务。通过函数计算,您无需管理服务器等基础设施,只需编写代码并上传。函数计算会为您准备好计算资源,以弹性、可靠的方式运行您的代码,并提供日志查询、性能监控、报警等功能。借助于函数计算,您可以快速构建任何类型的应用和服务,无需管理和运维。而且,您只需要为代码实际运行所消耗的资源付费,代码未运行则不产生费用。 移动应用的打包和分发呈现明显的峰谷效用,用户常常需要短时间内准备大量资源保障分发的实时性,完成分发后又需要及时释放资源,降低成本。这里我们提供一个 fun 模板,帮助我们更快地搭建一个基于 函数计算 构建 Serverless 架构的包分发服务,在开发运维效率,性能和成本间取得良好的平衡。 在分包过程中,下载/修改/上传是一个比较消耗资源的任务,需要消耗大量的计算/网络资源。并且分包任务只在应用发布新版本时才会发生,需要在尽可能短的时间内完成。针对这种有明显波峰波谷的场景,非常适合使用函数计算来完成。更重要的是这个服务是具有弹性伸缩和高可用能力的。 apk 分包简介 更多参考 函数计算--Serverless 微服务实践-移动应用包分发服务 。 准备工作: 1.安装 node curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.5/install.sh |