草庐IT

multiple-apk

全部标签

android - 为什么我无法在 Google Developer Console 中上传 APK 之前定义应用内商品?

在documentationfortestingIn-App-Purchases(IAP)在Android上,说明如下:First,uploadandpublishin-appproductsthatyouwanttesterstobeabletopurchase.Youcanuploadandpublishin-appproductsintheDeveloperConsole.Notethatyoucanuploadandpublishyourin-appitemsbeforeyoupublishtheAPKitself.但是,在我的GoogleDeveloperConsole中,我

android - 产品变体 : Multiple Activities

我在gradle/androidstudio中使用ProductVariants来实现以下项目设置:两个应用程序,在一个androidstudio项目中有80%的相似度。每个应用程序都应该有自己的list包路径(它们基本上应该像两个独立的应用程序一样运行-有自己的googleapi和按键)我已经按照多个教程尝试实现此目的(占位符、多个list),但没有任何效果。按照本教程,我执行了以下操作:http://www.kevinrschultz.com/blog/2014/03/23/using-android-content-providers-with-multiple-package-

Android 签名 APK 代 : Proguard exception for referenced class/method not found

我需要为Play商店生成签名的APK。(使用安卓工作室)如果我在没有混淆器的情况下这样做(build.gradle中的minifyEnabledfalse)一切正常!如果我用默认参数激活它:buildTypes{release{minifyEnabledtrueproguardFilesgetDefaultProguardFile('proguard-android.txt'),'proguard-rules.pro'}}我收到这些警告:app:proguardReleaseWarning:com.android.volley.error.VolleyErrorHelper$1:can

android - play_licensing 使用 downloader_library 抛出 AIDL 错误,用于使用 Gradle 进行 APK 扩展

我尝试使用APK扩展库zip_file和downloader_library(需要play_licensing)。zip_file工作正常,因为它没有依赖项,但play_licensing在我尝试Gradle同步时抛出错误。AndroidStudio吐出此错误日志:Information:Gradletasks[:app:generateGoogleDebugSources,:app:libs:downloader_library:generateDebugSources,:app:libs:play_licensing:generateDebugSources,:app:libs:z

android - "C2D_message is not unique"尝试制作标志 apk

我正在尝试发布APK,但在尝试生成签名APK时出现此错误Error:Error:PermissionnameC2D_MESSAGEisnotunique(appearsinbothcom.company.myApp.permission.C2D_MESSAGEandcom.company.myApp2.permission.C2D_MESSAGE)[UniquePermission]这是我的list文件:-->-->-->-->-->有人知道这有什么问题吗?我试过将使用权限更改为权限,但它有C2D_它不起作用。 最佳答案 您可以引用

android - 无法执行 dex : Multiple dex files define Lcom/google/android/gcm/GCMBaseIntentService;

我正忙于一项学校作业,要创建一个时间表应用程序,该应用程序通过JSON从我的数据库中获取数据。我将GCM服务用于推送通知和JohanNilsson的AndroidActionbar。但是,当我尝试将我的应用程序导出到.APK文件时,出现以下错误。[2012-12-1010:28:03-DexLoader]Unabletoexecutedex:MultipledexfilesdefineLcom/google/android/gcm/GCMBaseIntentService;[2012-12-1010:28:03-TimeTable]ConversiontoDalvikformatfai

android - 尝试生成签名的 Apk 时 Gradle 构建错误

大约34小时前,我生成了一个签名的apk,但现在,我无法生成一个签名的apk,我不知道如何解决这个问题。请帮忙这是我的输出信息Error:Note:therewere11duplicateclassdefinitions.(http://proguard.sourceforge.net/manual/troubleshooting.html#duplicateclass)FAILURE:Buildfailedwithanexception.Whatwentwrong:Executionfailedfortask':app:lintVitalRelease'.Couldnotresolv

android - Retrofit 2 在 minifyenable 时在发布 APK 中返回 null 但在调试 APK 中正常

当minify启用时获得空响应但代码200和ReleaseAPK,当minify为false时就可以了。但是在启用minify时通过调试APK获得预期的响应。 最佳答案 问题解决:)proguard-rules没问题,不需要添加任何额外的东西。如果minifyEnabled即使变量名与键相同,也需要添加SerializedName注释。那是我手动创建的唯一模型:P这在调试中工作正常但在登录后就不行了。:) 关于android-Retrofit2在minifyenable时在发布APK中返

android - Android APK 文件的内容是什么

APK文件的组成部分是什么?它只是一堆可执行文件吗?组件的名称是什么? 最佳答案 APK文件是一个存档,通常包含以下文件夹:META-INF目录:MANIFEST.MF:list文件CERT.RSA:应用程序的证书。CERT.SF:资源列表和对应的SHA-1摘要MANIFEST.MF文件中的行;例如:Signature-Version:1.0Created-By:1.0(Android)SHA1-Digest-Manifest:wxqnEAI0UA5nO5QJ8CGMwjkGGWE=...Name:res/layout/exchan

android - 在 Android Studio 2.1.1 中构建 APK 文件时出错

几天前,我升级了我的AndroidStudio,现在我遇到了一个问题。实际上,我正在尝试从我的项目构建一个APK文件,以便在真实设备上测试我的应用程序,当我点击Build-->BuildApk时,我在MessageGradle中收到了几个错误build。我不知道为什么会出现这些错误,请详细说明原因。错误错误:将字节码转换为dex时出错:原因:com.android.dex.DexException:MultipledexfilesdefineLcom/android/volley/VolleyError;错误:任务“:app:transformClassesWithDexForDebu