[Unity] Manually replace the real device ab package when debugging the app.

Go straight:

Android:

Android is relatively simple, let’s write down Android first.

Text: After the USB debugging function is turned on on the phone and successfully linked to Android Studio, there is a "Device File Explorer" button on the far right side of the screen. After opening it, a file list of the phone will appear. The APP path is generally: "sdcard/Android /data/Our package name (usually called com.xxx.xxx)/*", under this path, you can view the corresponding resources by yourself. Under the folder of the corresponding resource, right-click the mouse and a function menu will pop up, allowing you to replace files as needed. If you want to delete a file, right-click the file and select Delete.

As shown in the picture:


iOS:

iOS is a little troublesome. The summary is to download the package locally - replace the package content - upload the new package.

1.Window- Devices and Simulators

2. Select the app that needs to replace the ab package, then click the gear button, click Download Container, and download the ab package of the target app to the local

3. Right-click to select the downloaded file and click Show Package Contents.

4. Then you will see AppData-Documents, which is the ab package of the current app, after replacement. Go back to step 2, click the gear button, click Replace Container, select the .xcappdata file you just downloaded, and the replacement is completed.

Guess you like

Origin blog.csdn.net/qq302756113/article/details/122477959