Problem description
Filter RPC Exception
in the output log. 7014
is reported.
Troubleshooting procedure
Check whether the package information configured in
build.gradle
of the application is correct.signingConfigs { release { keyAlias 'mpaas123' keyPassword 'mpaas123' storeFile file('keystore/custom_title.jks')// A .jks signature is preferred. If a .kstore signature is used, three blue loading dots may appear when Mini Program is launched. storePassword 'mpaas123' } debug { keyAlias 'mpaas123' keyPassword 'mpaas123' storeFile file('keystore/custom_title.jks') storePassword 'mpaas123' } } buildTypes { release { minifyEnabled false shrinkResources false // Change to false. Disable obfuscation for debug and release resources. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro', 'mpProguard.cfg' } }
NoteIf the APK package uploaded to the mPaaS console is a release package, you must use the release package for testing. If the APK package uploaded to the mPaaS console is a debug package, you must use the debug package for testing.
Check whether the Security Guard of obfuscation configuration "keep" is added.
If no, pack "keep" to generate a Security Guard image
drawable/yw_1222
with reference to Add obfuscation configuration.If Gradle in Android Studio is version 4.2 or later, you must add
android.enableResourceOptimizations=false
togradle.properties
dependencies { classpath "com.android.tools.build:gradle:4.1.1" classpath 'com.android.boost.easyconfig:easyconfig:2.8.0' } # The causes for 7014 include: Gradle 4.2 in Android Studio, no Security Guard image, and resource confusion. # Disable resource optimization. android.enableResourceOptimizations=false
If
7014
persists after the preceding troubleshooting procedure is performed, re-upload APK, download the config file, and import the file again for testing.