Home >Web Front-end >uni-app >A solution to the uni-app pit collection (share)

A solution to the uni-app pit collection (share)

奋力向前
奋力向前forward
2021-09-13 10:56:452254browse

In the previous article "The article explains 8 ways to initialize a List collection in Java", we learned about the 8 ways to initialize a List collection in Java. The following article will introduce to you how to solve the problem of uni-app being trapped in a collection. Let's see how to do it together.

A solution to the uni-app pit collection (share)

After integrating H5 SDK to package apk, it prompts "UI module was not added during packaging"

  1. In mianfest In .json, check all the checkboxes

  2. . If you want to set up obfuscation, set minifyEnabled in the gradle file in the project application directory. is false

uniapp is not configured with appley or the configuration is wrong

Follow the official prompts first, if not, continue below Operation:

1. Open Android Studio==>Build==>Generate Signed Bundle /APK...== >APK=>NextFill in the path password OK. After the creation is completed, a jks file will be generated.

2, Android Studio== >Gradle Panel=>>app(your app)==>> ;Tasks=>>android==>>signingReport (double-click)This step is to generate sha1. Look at the console, just SHA1

Alias: key0
MD5: FC:F7:BB:7D:EC:B4:4A:7F:35:6D:08:74:28:87:C7:2E
SHA1: B6:BA:28:25:A2:68:43:01:34:B6:70:0C:B9:F1:DA:FF:DF:B5:B6:20
SHA-256: 60:3A:4C:5D:92:29:ED:6E:17:5E:2F:DD:62:4D:2F:D6:1C:13:F9:BA:8C:27:7B:ED:12:D0:3B:25:3D:DB:87:31

3. Log in to the developer center and find your application https://dev.dcloud.net.cn/app/index?type=0Offline packagingKey Management===>> Configuration information===>> AndroidCertificate signatureSHA1 (fill in the sha1## just generated in this column #) ==>>Save

Recommended learning:

Uni-App from entry to practical video tutorial

The above is the detailed content of A solution to the uni-app pit collection (share). For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:chuchur.com. If there is any infringement, please contact admin@php.cn delete