安卓日志输出

解决不匹配问题:

adb server version (36) doesn't match this client (40); killing...

C:\Users\Administrator>adb devices

List of devices attached

adb server version (36) doesn't match this client (40); killing...

could not read ok from ADB Server

* failed to start daemon

error: cannot connect to daemon

查看adb版本

C:\Users\Administrator>adb --version

Android Debug Bridge version 1.0.40

Version 4986621

Installed as H:\adt-bundle-windows-x86_64-20140702\sdk\tools\adb.exe

查看夜神模拟器(nox)的adb版本号

D:\Program Files\Nox\bin>nox_adb.exe

Android Debug Bridge version 1.0.36

Revision 0e9850346394-android

问题:版本不匹配问题

H:\adt-bundle-windows-x86_64-20140702\sdk\tools\adb.exe 1.0.40

D:\Program Files\Nox\bin>nox_adb.exe 1.0.36

1.解决问题:把H:\adt-bundle-windows-x86_64-20140702\sdk\tools\adb.exe copy一份nox_adb.exe 替换 D:\Program Files\Nox\bin\下面的nox_adb.exe

2.重启模拟器,在cmd输入adb devices就可以了

热更新流程:

1.修改代码和资源-完毕(commonUtils.js)

2.构建发布一下(一定要构建,不然index.js里面无修改的内容)

3.热更新工具,填写版本号2.0.3.0大于2.0.28.

4.生成热更新包。2.0.3.0.zip,解压

5.assets-main-index.js里面就有你修改的代码。所有代码都在index.js里面。

你可能感兴趣的:(Unity3d,java)