我要编辑的Opera Mini 6.5版服务器,因为它被挡在我们的国家。
I'm going to edit Opera Mini v6.5 server because it is blocked in our country.
现在我已经解开提取classes.Dex然后通过dex2jar.bat转换它的.apk文件,现在修改了服务器。
Now I have unpacked the .apk file extracted classes.Dex then converted it via dex2jar.bat, now modified the server.
我的问题是我想重新包装的.jar或的.class到classes.Dex。我该怎么做呢?
My problem is I want to repack the .jar or .class to classes.Dex. How do I do it?
下面是一个解决方案,这是在我的案件有帮助...
Here is a solution that was helpful in my case...
假设.jar文件位于在C:\ TEMP \ in.jar。在命令提示符窗口中cd到.. \ Android的SDK \平台工具。 要获取apk文件执行:
Suppose .jar file sits in "c:\temp\in.jar". In command prompt window cd to ..\android-sdk\platform-tools. To get .apk execute:
dx --dex --output="c:\temp\app.apk" "c:\temp\in.jar"
要获得.dex文件执行:
To get .dex file execute:
dx --dex --output="c:\temp\dx.dex" "c:\temp\in.jar"