反编译后修改package就行。不会影响功能的
至于闪退,肯定是回编译有错,需要重新弄。
至于闪退,肯定是回编译有错,需要重新弄。
解决方案 »
- 如何root?
- 求助! 芒果广告的奇怪问题,Eclipse报找不到AdMogoLayout类
- 如何打开一条刚刚收到的短信
- APK卸载,取消掉弹出的确认对话框,直接删除...
- 最近在做android的layout,但是发现用了dip的单位后,在不同屏幕下还是有差矣,请问怎么办
- ViewFlipper 在设置动画后 用getAnimation()获得动画为什么是null??
- ActionBar的tab栏上左右滑动的横线如何像微信那样平滑的滑动
- 双色球
- ListView中不同项的按钮点击冲突
- Android中五子棋棋盘是自定义的View,如何实现放大缩小呢?求大神教...
- java.net.ProtocolException 错误
- Android 开发中 对下上两个图层的相关操作问题,求大神果断喷我吧!
不要出现 有的像android:name=".MyApplication"这样的省略,有的是完整包名加类名如果全部是完整包名加类名,那么该package应该没有任何问题。这个我在用过好几次了
<application android:label="@string/app_name" android:icon="@drawable/icon" android:name=".controller.Controller">
<activity android:theme="@style/NoTitleBarFullScreen" android:label="@string/app_name" android:name=".JapaneseStudyForN2Activity" android:screenOrientation="portrait" android:configChanges="keyboard|orientation" android:windowSoftInputMode="stateAlwaysHidden|adjustPan">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:theme="@style/NoTitleBarFullScreen" android:label="@string/app_name" android:name=".view.WordActivity" android:screenOrientation="portrait" android:configChanges="keyboard|orientation" android:windowSoftInputMode="stateAlwaysHidden|adjustPan" />
<activity android:theme="@style/NoTitleBarFullScreen" android:label="@string/app_name" android:name=".view.MainActivity" android:screenOrientation="portrait" android:configChanges="keyboard|orientation" android:windowSoftInputMode="stateAlwaysHidden|adjustPan" />
<activity android:theme="@style/NoTitleBarFullScreen" android:label="@string/app_name" android:name=".view.MediaActivity" android:screenOrientation="portrait" android:configChanges="keyboard|orientation" android:windowSoftInputMode="stateAlwaysHidden|adjustPan" />
<activity android:theme="@style/NoTitleBarFullScreen" android:label="@string/app_name" android:name=".view.SyntaxActivity" android:screenOrientation="portrait" android:configChanges="keyboard|orientation" android:windowSoftInputMode="stateAlwaysHidden|adjustPan" />
<activity android:theme="@style/NoTitleBarFullScreen" android:label="@string/app_name" android:name=".view.Setting" android:screenOrientation="portrait" android:configChanges="keyboard|orientation" android:windowSoftInputMode="stateAlwaysHidden|adjustPan">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:theme="@style/NoTitleBarFullScreen" android:label="@string/app_name" android:name=".view.NewInfoActivity" android:screenOrientation="portrait" android:configChanges="keyboard|orientation" android:windowSoftInputMode="stateAlwaysHidden|adjustPan" />
<activity android:theme="@style/NoTitleBarFullScreen" android:label="@string/app_name" android:name=".view.EveryDayWord" android:screenOrientation="portrait" android:configChanges="keyboard|orientation" android:windowSoftInputMode="stateAlwaysHidden|adjustPan" />
<activity android:theme="@style/NoTitleBarFullScreen" android:label="@string/app_name" android:name=".view.EveryDaySyntax" android:screenOrientation="portrait" android:configChanges="keyboard|orientation" android:windowSoftInputMode="stateAlwaysHidden|adjustPan" />
<activity android:theme="@style/NoTitleBarFullScreen" android:label="@string/app_name" android:name=".view.InfoActivity" android:screenOrientation="portrait" android:configChanges="keyboard|orientation" android:windowSoftInputMode="stateAlwaysHidden|adjustPan" />
<activity android:theme="@style/NoTitleBarFullScreen" android:label="@string/app_name" android:name=".view.OtherActivity" android:screenOrientation="portrait" android:configChanges="keyboard|orientation" android:windowSoftInputMode="stateAlwaysHidden|adjustPan" />
<activity android:theme="@style/NoTitleBarFullScreen" android:label="@string/app_name" android:name=".view.MyAppActivity" android:screenOrientation="portrait" android:configChanges="keyboard|orientation" android:windowSoftInputMode="stateAlwaysHidden|adjustPan" />
<service android:name=".db.DBCopySerivce" />
</application>好像有你所说的
<activity android:theme="@style/NoTitleBarFullScreen" android:label="@string/app_name" android:name=".view.MyAppActivity" android:screenOrientation="portrait" android:configChanges="keyboard|orientation" android:windowSoftInputMode="stateAlwaysHidden|adjustPan" />
<service android:name=".db.DBCopySerivce" />
那修改之后是否好了呢?
因为我的经验也不是很足,只是在我处理的apk成功了,可能还会有其他问题导致失败。
android:name="com.japanese.studyN1.view.MediaActivity"都给完整地加上了,结果编译出来的 apk,还是闪退
你程序中有自定义view的调用么,是否有ndk调java的方法,是否有用包名的跳转等等,很多都是用源码的信息。
特别是你要“干坏事”的时候你更不会去看别人的实现了。所以我就是只改package名,其他都不修改。
安装的时候依然会当作第二个应用的(识别package的)
这是什么意思