大佬教程收集整理的这篇文章主要介绍了Android Build Tools无论如何都只构建x86_64. APK通过adb安装,但在Play商店中显示不兼容,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
defaultConfig { applicationId "com.chiskosystems.brokr" versionCode versionnumber versionName "${versionMajor}.${versionMinor}.${versionPatch} (${versionBuilD}) Release" minSdkVersion 16 targetSdkVersion 25 testinstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" multiDexEnabled true jackOptions { enabled false } vectorDrawables { useSupportLibrary true } } splits { abi { enable true reset() include 'armeabi','armeabi-v7a','arm64-v8a' } } project.ext.versionCodes = ['armeabi': 1,'armeabi-v7a': 2,'arm64-v8a': 3] applicationVariants.all { variant -> variant.outputs.each { output -> def fileNaming = "apk/brokr" def outputFile = output.outputFile output.versionCodeOverride = project.ext.versionCodes.get(output.getFilter( com.android.build.outputFile.ABI),0) * 10000000 + android.defaultConfig.versionCode } } signingConfigs { release { try { storeFile file('../mystore.jks') keyAlias 'release' storepassword KEYSTORE_password keypassword KEY_password } catch (eX) { throw new InvalidUserDataException("You should define KEYSTORE_password and KEY_password in gradle.properties.") } } } dataBinding { enabled true } dexOptions { javaMaxHeapSize "3g" preDexLibraries false } buildTypes { release { minifyEnabled false proguardFile 'path/proguard-project.pro' ... buildConfigField "String",'SERVER','"https://myfirebaseserver.com"' debuggable false signingConfig signingConfigs.release } debug { minifyEnabled false applicationIdSuffix ".debug" versionNameSuffix "-debug" buildConfigField "String",'"https://myfirebaseserver.com"' } } compiLeoptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } productFlavors { sandBox { buildConfigField "String",'PAYPAL_ENV','"PayPalConfiguration.ENVIRONMENT_NO_NETWORK"' } full { buildConfigField "String",'"PayPalConfiguration.ENVIRONMENT_PRODUCTION"' signingConfig signingConfigs.release targetSdkVersion 25 } }@H_197_2@发生在Win和Unix系统上.我花了整整一天修改脚本没有成功,此时我很无奈. @H_197_2@关于哔哔声发生了什么的任何想法?非常感谢!
以上是大佬教程为你收集整理的Android Build Tools无论如何都只构建x86_64. APK通过adb安装,但在Play商店中显示不兼容全部内容,希望文章能够帮你解决Android Build Tools无论如何都只构建x86_64. APK通过adb安装,但在Play商店中显示不兼容所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。