The uniapp real machine debugging prompts that no device is detected, and the packaging of the Hbuilder custom base fails

When the real machine is running, it prompts that the device is not detected

About how to run the real machine, you can refer to the articles of these big guys http://t.csdn.cn/v9KIO

1. First, make sure that the mobile phone data cable is connected to the computer, and the data cable has the function of transmitting data

2. Download the corresponding mobile assistant (need to connect the device)

ios is iTunes ( https://www.apple.com.cn/itunes/ )

For Android, I downloaded 360 Mobile Assistant ( http://sj.360.cn/index.html )

Here comes the problem. After the first download of the 360 ​​assistant on the PC side by vivo, the connection is normal, and the 360 ​​mobile assistant is automatically installed on the phone. to the mobile phone, data line, mobile phone, etc. everything is normal

In this case, try to re-download a mobile assistant and try to download an additional Aisi assistant ( https://www.i4.cn/ ) and connect again successfully

Hbuilder custom base package failed

1. Make sure that the packaged configuration information package name, certificate, private key, etc. are not filled in wrongly

2. If an external plug-in (plug-in imported from the plug-in market) is used in the project, then the custom base must be built first, and the custom base can only be packaged after it is completed!

For Android, use the Android package, and for iOS, you may need to wait in line for a while on Friday.

3. After the custom base is completed, you can try to pack normally. The daily account number is only about 5 or 6 times. If you run out of times, you can try another account (I can also play with an account that is not a collaborator)

After the Android package apk file is downloaded, you can directly open it on your phone to download the app

For the ios package, you need to use the mobile phone assistant to assist in the download

4,若开发过程中证书文件,秘钥,基座全部完成情况下还是出现了打包失败的情况;如果所有常见错误都排除了的情况下,这个时候就可以考虑换一个hbuilderx的版本试试

开发的时候用的最新版本,结果打包一直报错(匪夷所思);在前辈的经验下,新安装了一个3.5.3的版本,就打包成功,一切正常

Supongo que te gusta

Origin blog.csdn.net/Yi_qian1000/article/details/128861661
Recomendado
Clasificación