본문 바로가기
728x90

Programing/Debugging59

[Android Tool] APKTools Windows GUI Decompile/Recompile/ZipAlign/SignAPK Hi everyone, I want to share a tool that I make it myself for easy to modify APKs (Because laziness so I don't want to type cmd ). REQUIREMENTS : 1. Windows XP or above. 2. .NET 2.0 is installed (default on XP, Vista, 7) 2. JRE/JDK Installed. 3. An APK that you want to do something with it. FEATURE: 1. Decompile APK. 2. Recompile APK. 3. Batch SignAPK (You can select or Drag multiple file). 4. B.. 2015. 5. 13.
GC overhead limit exceeded Eclipse환경에서 Run을 시켰을때 빌드를 통해 메모리를 확보하는 중간에 Eclipse가 응답없음으로 바뀌는 에러입니다. 'Unable to execute dex: GC overhead limit exceeded GC overhead limit exceeded' [Solution]Eclipse폴더에 있는 eclipse.ini파일을 수정 -XX:MaxPermSize=1024m-Xms512m-Xmx1024m 위와 같은 세개의 항목에 대하여 메모리 사이즈를 키워 주시면 됩니다.저 같은 경우에는 메모리가 많아서 2048로 설정해 놓고 쓰고 있습니다.-XX:MaxPermSize=2048m-Xms2048m-Xmx2048m 2015. 4. 24.
[JAVA] Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException Solution : You have to set the initial value at static value. static으로 선언한 변수를 초기화 하지 않는 경우 발생합니다. Exception in thread "AWT-EventQueue-0" java.lang.NullPointerExceptionat javax.swing.plaf.basic.BasicTableUI.paintCell(Unknown Source)at javax.swing.plaf.basic.BasicTableUI.paintCells(Unknown Source)at javax.swing.plaf.basic.BasicTableUI.paint(Unknown Source)at javax.swing.plaf.ComponentUI.update(Un.. 2015. 4. 9.
java was started but returned exit code=13 원인설치된 JRE과 Eclipse의 시스템아키텍처가 달라서 생기는 문제로 브라우저를 통해 JRE를 업데이트할 때 발생 해결http://java.com/ko/download/manual.jsp 에 들어가서 64bit를 설치 2015. 3. 20.
[JAVA/Android] Array constants can only be used in initializers [Problem] String[] command = new String[6]; if(.....) { command = {"adb", "-s", serial, type, inputfile, outputfile}; } >> Array constants can only be used in initializers [Solution] String[] command; if(.....) { command = new String[]{"adb", "-s", serial, type, inputfile, outputfile}; } 2015. 2. 25.
[Android/안드로이드] android.content.ReceiverCallNotAllowedException [Issue]Caused by: android.content.ReceiverCallNotAllowedException: BroadcastReceiver components are not allowed to register to receive intentsIntentReceiver components are not allowed to register to receive intents [Soultion]Kor : 넘겨주는 context의 값을 context.getApplicationContext() 로 설정 하라. Eng : public void onReceive(Context context, Intent intent) {mContext = context.getApplicationContext(); 2015. 1. 8.
[Android/안드로이드] java.lang.RuntimeException: Unable to instantiate activity [Problem Log] 01-05 09:42:37.923: E/AndroidRuntime(2092): FATAL EXCEPTION: main 01-05 09:42:37.923: E/AndroidRuntime(2092): Process: com.victor.devicemanager_new, PID: 2092 01-05 09:42:37.923: E/AndroidRuntime(2092): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.victor.devicemanager_new/com.victor.devicemanager_new.MainActivity}: java.lang.ClassNotFoundException: D.. 2015. 1. 5.
[Android] Dialog.dismiss()를 할 때, java.lang.IllegalArgumentException: View not attached to window manager 예외 회피하기 http://dhna.tistory.com/m/post/382에 너무 자세히 설명이 되어 있어서 퍼왔습니다. 안드로이드에서 Dialog를 사용할 때는 dissmiss() 메소드 호출을 안 할 수가 없습니다. 그런데 종종 이 dismiss() 메소드 호출을 하다보면 'java.lang.IllegalArgumentException: View not attached to window manager' 라는 예외가 발생 할 때가 있습니다. 저는 이 예외가 발생하는 상황을 찾기 위해서 몇 가지 상황에 대해서 테스트를 했습니다. 그리고 이 예외가 발생하는 한 가지 상황을 찾았습니다.Dialog가 보여지고 있는 상태에서 Activity.finish()를 한 뒤, Dialog.dismiss()를 호출하면 'java.la.. 2014. 9. 18.
[Android/Eclipse] The zipalign tool was not found in the sdk [Issue] [Solution]1. Android SDK Manager > build-tools Version 20.0.0 Install2. Copy "zipalign.exe" in /build-tools/20.0.03. Paste "zipalign.exe" in /tools4. Restart Eclipse 2014. 9. 17.
[Android] Multiple annotations found at this line 해결 방법 Multiple annotations found at this line:- error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?- error: Unexpected end tag string BeforeCopy %d of %s AfterCopy %d of %s 2014. 9. 16.
[Android] Android sdk requires android developer tookit version 23.0.0 or above [Issue]This android sdk requires android developer tookit version 23.0.0 or abovecurrent version is 22.6.3.v201404151837-1123206.Please update ADT to the latest version. Cannot complete the install because of a conflicting dependency. Software being installed: Android Development Tools 23.0.1.1256982 (com.android.ide.eclipse.adt.feature.feature.group 23.0.1.1256982) Software currently installed:.. 2014. 9. 11.
[Android] INSTALL_FAILED_VERSION_DOWNGRADE [2014-08-27 12:30:53 - TechListChooserActivity] Installation error: INSTALL_FAILED_VERSION_DOWNGRADE[2014-08-27 12:30:53 - TechListChooserActivity] Please check logcat output for more details.[2014-08-27 12:30:53 - TechListChooserActivity] Launch canceled! t means you're trying to install an app with the same packageName as an app that's already installed on the emulator, but the one you're tryi.. 2014. 8. 27.
728x90