来源:https://www.cnblogs.com/mliangchen/p/5079783.html
安卓获取设备信息
import java.net.NetworkInterface;
1.使用adb来查询,前提是你已经安装到设备上了。
...客户端:
suball.bat
call build.bat
cd..
call rename.bat
-----
rename.bat
del MainActivity-release-unsigned.apk
copy .\app\bin\MainActivity-release-unsigned.apk .\
if %time:~0,2% lss 10 (set d=%DATE:~0,4%%DATE:~5,2%%DATE:~8,2%%TIME:~1,1%%TIME:~3,2%%TIME:~6,2%)else (set d=%date:~5,2%%date:~8,2%%time:~0,2%%time:~3,2%%time:~6,2%)
...
[2017-05-11 12:22:00 - Dex Loader] Unable to execute dex: method ID not in [0, 0xffff]: 65536[2017-05-11 12:22:00 - app] Conversion to Dalvik format failed: Unable to exe
在项目开发过程中,遇到这样的场景:有写特殊Android设备只有一个USB口,当挂载U盘之后就无法连接USB实时进行调试了。这儿时候如果设备可以开启WiFi,那就可以用WiFi进行调试;要开启网络调试,执行下面指令即可:"setprop service.adb.t
所有的android程序都需要签名
Date: 2014-03-14
Title: Compile Android Native Binary And Library Published: true
...
...