본문 바로가기
728x90

Programing/Debugging59

[안드로이드] gradle - minifyEnabled 와 shrinkResources 에 대해 이번에 재다이얼 어플을 만들면서 신기한 경험을 하게 됐다. https://victor8481.tistory.com/772?category=97690 [Auto Redial][재다이얼] 안드로이드 자동 재다이얼 어플 https://play.google.com/store/apps/details?id=com.bareum_sw.autoredial 자동 재다이얼 - Google Play 앱 해당 어플을 손 쉽게 재 다이얼을 할 수 있는 기능을 제공합니다. - 자동 재다이얼 - 자동 통화 종료 -.. victor8481.tistory.com 분명해 개발 당시 테스트를 할때는 시스템에 접근하는 기능이 모두 정상적으로 동작을 했다. 예로, 전화 종료하기! 근데, 플레이스토어에서 받은 버전은 동작은 한하는 것!!! 원인.. 2019. 4. 24.
[Android][Debug] Program type already present: org.intellij.lang.annotations.Identifier [Problem] Program type already present: org.intellij.lang.annotations.Identifier [Root Cause] Normally, it's caused by duplicated between below and some libraries. implementation 'org.jetbrains:annotations-java5:15.0' [Solution] https://stackoverflow.com/questions/49811851/program-type-already-present-org-intellij-lang-annotations-flow configurations { cleanedAnnotations compile.exclude group: '.. 2019. 4. 24.
[Android Developer Console] Upload failed Upload failed You uploaded an APK or Android App Bundle which specifies an actions schema document in its manifest, but action schemas are not yet allowed. If you are part of a beta program, you need to have your developer account whitelisted. You need to delete the "com.google.android.actions" meta-data in your manifest. 2019. 4. 17.
[Android Studio] Android Studio logcat history/buffer size Settings->Editor->General->Console: tick "Override console cycle buffer size 2019. 3. 26.
[Android 9.0][Debugging] CLEARTEXT communication to XXXX not permitted by network security policy [Android P 변경 사항] HTTPS를 기본값으로 지정 모든 네트워크 트래픽을 일반 텍스트(Cleartext - 암호화되지 않은 HTTP)에서 TLS로 보호된 웹사이트(HTTPS)로 전환하기 위한 광범위한 노력의 일환으로, 모든 HTTP 트래픽을 차단하도록 네트워크 보안 구성의 기본값을 변경하는 중입니다. HTTP 연결은 특정 도메인에 대해 일반 텍스트 사용을 명시적으로 선언한 경우에만 허용됩니다. 자세한 내용은 여기를 참조하세요. https://developers-kr.googleblog.com/2018/08/introducing-android-9-pie.html Google에서 정책을 발표한 것 처럼, 안드로이드 파이부터는 HTTP를 강제하고 있습니다. URL 주소가 HTTP로 되어 있는 경우,.. 2019. 3. 22.
[Android][Debug] How to check memory leak in Android application esider? [Solution] Using com.squareup.leakcanary library. https://github.com/square/leakcanary Getting started In your build.gradle: dependencies { debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.6.3' releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.6.3' // Optional, if you use support library fragments: debugImplementation 'com.squareup.leakcanary:leakcanary-s.. 2019. 3. 13.
[Android] Android UI Dump View Hierarchy for UI Automator \Sdk\tools\bin\uiautomatorviewer.bat 2019. 3. 13.
[Debug] ERROR: No installed build tools found. Please install the Android build tools version 19.1.0 or higher. [Problem] ERROR: No installed build tools found. Please install the Android build tools version 19.1.0 or higher. [Solution] 1. \Sdk\tools\bin>sdkmanager "build-tools;19.1.0" Warning: File C:\Users\victo\.android\repositories.cfg could not be loaded. [=======================================] 100% Unzipping... android-4.4.2/libcla 2. Restart AndroidStudio 2019. 2. 21.
[Android Studio] No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android [Root Cause] \Sdk\ndk-bundle\toolchains [Solution] - Download NDK https://developer.android.com/ndk/downloads/ - Unzip "mips64el-linux-android-4.9" & "mipsel-linux-android-4.9" 2018. 12. 15.
[Android] FileProvider - IllegalArgumentException: Failed to find configured root https://developer.android.com/reference/android/support/v4/content/FileProvider#SpecifyFiles [Solution] Step 1. Modify Manifest ... Step 2. Add "file_paths" as res/xml/file_paths.xml Step 3. Add code as below. File f = new File(file.getPath()); uri = FileProvider.getUriForFile(mContext, "com.victor.filepicker.provider", f); 2018. 9. 20.
[Android/Gradle] transformClassesWithRetrolambdaForDebug / Missing javaCompileTask for variant :sample:transformClassesWithRetrolambdaForDebug FAILED FAILURE: Build failed with an exception. * What went wrong:Execution failed for task ':sample:transformClassesWithRetrolambdaForDebug'.> Missing javaCompileTask for variant: debug/0 from output dir: \build\intermediates\transforms\retrolambda\debug\0 * Try:Run with --info or --debug option to get more log output. * Exception is:org.gradle.ap.. 2017. 11. 2.
[Android] INSTALL_PARSE_FAILED_NO_CERTIFICATES 설치하고자 하는 앱에 서명이 되어있지 않기 때문에 발생하는 문제입니다. 아래와 같이 앱 서명을 진행하시면 됩니다. 1. Build > Generate Signed APK... 2. If you don't have a key store, you need to create via "Create new..". If you already had it, you need to choose it via "Choose existing..". And then, you need to input Key store password / Select Key alias / Input Key password. 3. Select APK Destination Folder > Build Type : release > Check V1 an.. 2017. 10. 23.
728x90