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

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

奋力向前
Release: 2021-09-13 10:58:24
forward
2258 people have browsed it

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
Copy after login

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!

Related labels:
source:chuchur.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template