Android Problem

Android Problem :

Problem : Your Driver doesn't supported video Device 

Solved : 1. Add "<uses-feature android:glEsVersion="0x00020000" android:required="true" />" to DesktopLauncher
               2. Install Java SE 7 with Jre to System and disable current version.
               3. Modify EDIT DesktopLauncher : JRE to c:\Prog......\java\jdk1.7.0_80\jre


Problem : RUN :html on Gradle in Android Studio

Solved : 1. See what App engin on Gradle
              
            2. Open Terminal in Android Studio
            3. GOTO  Project folder e.g. ...../Projects/projectABC/
            4. (MAC only) modify gradlew to "chmod 755 gradlew",
            5. Start Engin : ./gradlew html:jettyRUN               
            
            6. Open Browser : http://localhost:8080/html



Problem :Error:All flavors must now belong to a named flavor dimension. Learn more at https://d.android.com/r/tools/flavorDimensions-missing-error-message.html

Solved : Add flavorDimensions "default" to Android -->  build.properties


Reference : 
https://developer.android.com/studio/build/gradle-plugin-3-0-0-migration.html
http://blog.csdn.net/SYIF88/article/details/75009663
http://blog.csdn.net/small_technical/article/details/72782671
http://www.cnblogs.com/bluestorm/p/7374903.html


Problem : SSL peer shut down incorrectly


Solution 1 : 
  1. gradle-wrapper.properties copy and Download "distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip"
  2. Copy unZIp to "C:\Program Files\Android\Android Studio\gradle"

Solution 2 :
  1. Download Again and Again. Let System Correct Only, Don't have to change anything.






Comments