apk

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

此生再无相见时 提交于 2020-01-25 18:14:53
背景 阿里云函数计算是事件驱动的全托管计算服务。通过函数计算,您无需管理服务器等基础设施,只需编写代码并上传。函数计算会为您准备好计算资源,以弹性、可靠的方式运行您的代码,并提供日志查询、性能监控、报警等功能。借助于函数计算,您可以快速构建任何类型的应用和服务,无需管理和运维。而且,您只需要为代码实际运行所消耗的资源付费,代码未运行则不产生费用。 移动应用的打包和分发呈现明显的峰谷效用,用户常常需要短时间内准备大量资源保障分发的实时性,完成分发后又需要及时释放资源,降低成本。这里我们提供一个 [fun](https://statistics.functioncompute.com/?title=Serverless 微服务实践-移动应用包分发服务(Fun 3.0 升级版)&author=孙飞宇&src=&url=https://github.com/alibaba/funcraft) 模板,帮助我们更快地搭建一个基于[函数计算](https://statistics.functioncompute.com/?title=Serverless 微服务实践-移动应用包分发服务(Fun 3.0 升级版)&author=孙飞宇&src=&url=https://helpcdn.aliyun.com/product/50980.html)构建 Serverless 架构的包分发服务

App isnt installed error

孤者浪人 提交于 2020-01-25 09:01:25
问题 I have been trying to run my app on my Nexus 4 for quite some time now. But everytime I try to launch it, it gives me an "App isnt installed" error. The app is working fine on the emulator. What could be the reason for this. Please help! 回答1: After some research i have found that it is due to YActiivity. when you have updated it to be YActiivity. This causes Android to think the app isn't installed, as it cannot find an XActiivity in your app marked as the MAIN Activity. You can solve it by

How to get System Installer on Tablet to accept Unsigned App

旧时模样 提交于 2020-01-25 06:37:16
问题 I am in dev mode and have no ADB access to android 2.1 tablet. I want to just transfer quickly unsigned app to downloads and install. However installer always says Application not installed without giving reason. So I need to know how to get installer to accept an unsigned app. signed app installs fine, and I do have Unknown Sources Checked under applications. 回答1: Go to following Settings -> Application Settings -> check Unknown Sources. To install the apk from command prompt you need to

如何给你的Android 安装文件(APK)瘦身

时间秒杀一切 提交于 2020-01-24 14:41:10
如何给你的Android 安装文件(APK)瘦身 本文翻译自: Putting Your APKs on Diet 原作者: Cyril Mottier Android的apk文件越来越大了这已经是一个不争的事实。在Android 还是最初版本的时候,一个app的apk文件大小也还只有2 MB左右,到了现在,一个app的apk文件大小已经升级到10MB到20MB这个范围了。apk文件大小的爆炸式增长主要是因为用户对app质量的期待越来越高以及开发者的开发经验增长,具体体现在以下几个方面: Android设备 dpi 的多样化 ([l|m|tv|h|x|xx|xxx]dpi) Android平台的进化,开发工具的改进以及开源类库生态系统的丰富 用户对高质量UI的期待 其他原因 Android开发者在设计一个app的时候应该将最终发布一个轻量级app作为一个最佳实践来考虑。为什么?首先这就意味着你拥有了一个简洁,易维护代码基础。其次,官方应用商店对超过50MB的apk设置了拓展包文件下载选项,apk文件在50MB以下更容易让用户下载。最后,我们的应用程序环境是一个带宽有限,存储空间有限的环境,apk安装文件越小,下载就会越快,安装也会更快,良性循环,最后说不定用户因为这个给好评。 在大部分情况下,apk大小的增长是为了满足消费者的需要和期待。然而

JAVA Android APK release mode error Could not download kotlin-compiler.jar

六月ゝ 毕业季﹏ 提交于 2020-01-24 09:19:46
问题 When i build a new APK or generate a signed APK in release mode I get the following error: Could not download kotlin-compiler.jar (com.android.tools.external.com-intellij:kotlin-compiler:26.1.4): No cached version available for offline mode This is my Gradle code: apply plugin: 'com.android.application' android { compileSdkVersion 28 defaultConfig { applicationId "com.example.caro.customelements" minSdkVersion 23 targetSdkVersion 28 versionCode 1 versionName "1.0" testInstrumentationRunner

JAVA Android APK release mode error Could not download kotlin-compiler.jar

牧云@^-^@ 提交于 2020-01-24 09:19:29
问题 When i build a new APK or generate a signed APK in release mode I get the following error: Could not download kotlin-compiler.jar (com.android.tools.external.com-intellij:kotlin-compiler:26.1.4): No cached version available for offline mode This is my Gradle code: apply plugin: 'com.android.application' android { compileSdkVersion 28 defaultConfig { applicationId "com.example.caro.customelements" minSdkVersion 23 targetSdkVersion 28 versionCode 1 versionName "1.0" testInstrumentationRunner

Including Google Play Downloader Library | APK File Expansion Library

被刻印的时光 ゝ 提交于 2020-01-24 06:44:26
问题 I'm following dev guide at http://developer.android.com/guide/market/expansion-files.html in order to download additional assets to my apk. I've done all the part about the importation of libraries, etc .. I've also implemented the samples code in my main program (in order to detect if expansion files are already downloaded, if we need to download them and launch the download, etc ..) I have no errors in eclipse, but when I launch the app and starting to call the methods and classes from the

APK .

烂漫一生 提交于 2020-01-23 20:25:36
{ 一、准备必要工具 工欲善其事,必先利其器,首先我们要下载好反编译apk时需要的相关工具 1.1、使用工具 1. apktool (资源文件获取) 2. dex2jar(源码文件获取) 3. jd-gui (源码查看) 1 2 3 1.2、工具介绍 apktool   作用:资源文件获取,可以提取出图片文件和布局文件进行使用查看。 dex2jar   作用:将apk反编译成java源码(classes.dex转化成jar文件)。 jd-gui   作用:查看APK中classes.dex转化成出的jar文件,即源码文件。 1.3工具下载 apktool下载地址:    https://bitbucket.org/iBotPeaches/apktool/downloads 下载好之后得到一个如下图所示的jar文件: dex2jar下载地址:    http://sourceforge.net/projects/dex2jar/files/ 下载完成之后,得到一个如下图所示的压缩包:   jd-gui下载地址:     http://jd.benow.ca/  下载完成之后,得到一个如下图所示的压缩包: 到此,需要使用到的3个相关工具都下载好了,在这里说明一下jd-gui的下载,从官方网站上点击 下载时会经常出现如下图所示的问题   但是多试几次又可以下载了

Android new project no code, apk is 4 mb

半世苍凉 提交于 2020-01-23 17:05:13
问题 I'm creating a simple pro package to unlock features in my free app. My free app will check if the pro package is installed and unlock pro features if its installed. I created a new project, with no activity. When I pushed it the app to my device it says it's 4 mb in size. Why is it so big when theres no code? Looking at other apps with pro unlockers, they seem very small like 100-200 kb. build.gradle: apply plugin: 'com.android.application' android { compileSdkVersion 21 buildToolsVersion

Easy way to compile, sign, zipalign APK for Android Play Store (Also SHA1 Key Viewer)

最后都变了- 提交于 2020-01-23 13:58:08
问题 How do you easily compile and deploy your APK packages to the Google Play Store? i have been searching around for the easiest way i could find for my setup and ended up doing the following below? Would you suggest a better way for this? "Can you sign and zip align your APK file from within Android Studio using a GUI, not by using the terminal?" Two Batch Files to assist with your deployment process The following batch file i created to speed up the testing of my APK files across various