Kotlinã§Androidããã°ã©ãã³ã°ã®å ¥éæ¸ãè³¼å ¥ããã®ã§ï¼å¹´ã¶ãã«è¨äºãæ¸ãã¾ãã
ä»äºã«å¿æ®ºããã¦ããéã«ãåã®è¨äºãæ¸ãã¦ããï¼å¹´ãçµã¡ã¾ããã
ãã®ï¼å¹´ã§å¾ããããã®ã¯èèªã¨ä½éãããã§ãããããããããã£ã¦ãã°ããèªå® å¾ æ©ã«ãªã£ã¦ä¹ ãã¶ãã«æéã«ä½è£ãã§ãããããä½ãããã¨æã£ãã¾ã¾æ¾ã£ããããã¦ãAndoroidã¢ããªã®éçºãåéãããã¨ã«ãã¾ããã
ç¶ããèªãKotlin on Androidã§ãããããã¢ããª
ãã¡ãã®è¨äºã¨ä»¥åã®è¨äºãåèã«ãKotlinã§Androidã®ãããããã¢ããªãæ¸ãã¾ããã
IDEã¯Android Studio 3.1ã§ããã«ããã¼ã«ã¯Gradle 4.4ã使ã£ã¦ãã¾ãã
åä½ç¢ºèªã¯ãAPI level 23ã®Androidã¨ãã¥ã¬ã¼ã¿ã§å®æ½ãã¾ããã
Androidã¨ãã¥ã¬ã¼ã¿ã®åèµ·åã§è§£æ±ºããªãã¨ã©ã¼ãCold Bootã§è§£æ±ºãã
ä½æ¥ãèµ·åãã£ã±ãªãã®Androidã¨ãã¥ã¬ã¼ã¿ã§Session 'app': Error Installing APK
ãWaiting for target device to come online
ãé »çºããããã«ãªã£ããããAVD Manager
ããèµ·åä¸ã®Androidã¨ãã¥ã¬ã¼ã¿ã®åèµ·åã試ãããã®ã®ä¸å®å®ãªç¶æ
ã¯è§£æ±ºããã代ããã«AVD Manager
ã®ã¡ãã¥ã¼ã«ãã£ãCold Boot Now
*1ã試ããæãAndroidã¨ãã¥ã¬ã¼ã¿ã®åä½ãå®å®ãã¨ã©ã¼ãåºãªããªãã¾ããã
*1:Cold Bootã¨ã¯é»æºãå®å ¨ã«åãã¦ããç¶æ ããèµ·åãããã¨
Android Studioã®ã¢ãããã¼ãã§Error running 'app': Unknown error
Android Studio 3.01ããAndroid Studio 3.1ã«ã¢ãããã¼ãããããError running 'app': Unknown error
ãåºã¦ãã«ãã«å¤±æããããã«ãªãã¾ããã
è²ã
ã¨è©¦ãã¾ããããã¨ãããããWelcom Screen(èµ·åç»é¢)ã®ããã¸ã§ã¯ãã®å±¥æ´ããã¨ã©ã¼ãåºã¦ããããã¸ã§ã¯ããåé¤ããOpen and exsisting Android Studio project
ã§ããã¸ã§ã¯ããéããããã¨ã©ã¼ã表示ãããªããªãã¾ããã
ã¨ã©ã¼ã®åå ã¯ä¸æã§ãããAndroid Studioããã«ä½ãæ°ã«å ¥ããªãäºããã£ãã®ã ããã¨æãäºã«ãã¾ããã
ç¶ããèªãAndroid Studioã®Outdated Kotlin Runtime
Android Studioã§Gradle pluginãã¢ãããã¼ãããããOutdated Runtime Kotlin
ã¨è¦åãããããã«ãªãã¾ããã
Your version of Kotlin runtime in 'org.jetbrains.kotlin:kotlin-stdlib:1.1.51@jar' library is 1.1.51, while plugin version is 1.2.31-release-Studio3.0-1. Runtime library should be updated to avoid compatibility problems. Update Runtime Ignoreç¶ããèªã
Macã®Android Studioã§Emulator: WARNING: HAXM
Androidã¨ãã¥ã¬ã¼ã¿ã®èµ·åæã«ãEmulator: WARNING: HAXM 6.0.5 is installed. Please install HAXM >= 6.2.1 to fix compatibility issues on Mac
ã¨è¦åãããå ´åã¯ãAndroid StudioãAndroid SDKã®ã¢ãããã¼ããããéã«ææ°ã®Intel HAXM
ãæ£å¸¸ã«ã¤ã³ã¹ãã¼ã«ããã¦ããªãããããæåã§Intel HAXM
ãã¤ã³ã¹ãã¼ã«ããã°è¯ãããã§ãã
2018å¹´ã®Androidéçºã¯Kotlinã«ãã¾ã
ä¹ ãã¶ãã®Androidéçº*1ã§ééããã¨ã©ã¼ã解決ããããã«è²ã ã¨èª¿ã¹ã¦ããããKotlinãAndroidéçºã®å ¬å¼è¨èªã¨ãã¦æ¡ç¨*2ãããäºã¨ãAndroid Studio*3ãKotlinã«æ£å¼å¯¾å¿ãã¦ããäºãç¥ããKotlin on Androidã«ææ¦ãããã¨ã«ãã¾ããã
*1:IntelliJ IDEAã§ã®Scala on Android using sbt
*3:2017å¹´10æã«ãªãªã¼ã¹ãããAndroid Studio 3.0