Problems encountered in the development of uniapp native plug-ins

1. Minsdk version control problem after cloud packaging, the version in the plug-in module must be consistent.
2. Version dependency issues, api or implements are fine for jar packages. For aar packages, you need to use api, which can transfer dependencies to apps. compileOnly only participates in compilation and will not use jar packages. 3. Offline packaging files are
absolutely There will be problems with the path, but there is no problem with cloud packaging.
4. Get the value of SHA1 in android studio
1. Run your demo, click AS to expand the Gradle function area on the right;
2. Click the project name, click Tasks, click android, double-click signingReport hard, and check what you want in the Run area below ~
Method 2.
Open the terminal and go to the C:\Users\your username.android> directory (note that everyone’s directory in the .android file is different, there are pitfalls here), and then enter keytool -v - in the terminal list -keystore debug.keystore command, and then directly click Enter to view the MD5 and SHA1 in the debugging environment.

Guess you like

Origin blog.csdn.net/weixin_45361998/article/details/121261773