Android Studio 1.1 Beta で java.lang.NullPointerException

更新したら...

IDE_Fatal_Errors

null
java.lang.NullPointerException
  at com.android.sdklib.internal.avd.AvdManager.parseAvdInfo(AvdManager.java:1698)
  at com.android.sdklib.internal.avd.AvdManager.buildAvdList(AvdManager.java:1577)
  ...

We've just released Android Studio 1.1 Beta to the canary and dev channels.…

AVD周りで何かあるのかな.

以下でいける.

~ $ android list avd
...

The following Android Virtual Devices could not be loaded:
Name: n14
Path: /Users/evian/.android/avd/n14.avd
Error: Unknown target 'android-10' in /Users/evian/.android/avd/n14.ini

~ $ android delete avd -n n14
Deleting file /Users/evian/.android/avd/n14.ini
Deleting folder /Users/evian/.android/avd/n14.avd
AVD 'n14' deleted.

読み込めない avd を削除する.


Android Studio 0.3.0 アップデートで「ClassNotFoundExceptions」の場合

というエラー。

MavenCentralRepositoryでは、

The_Central_Repository_Search_Engine

「0.6.2」なのですがこれが原因と。

com.android.tools.build:gradle:0.6.+

の記述を

com.android.tools.build:gradle:0.6.1

に変えましょうと。

NOTE: The Android Gradle 0.6.2 plugin that was published on Maven Central appears to have incorrect dependencies, which leads to ClassNotFoundExceptions during the build. Hold off updating for now, or if you have already updated, you can work around this by editing your build.gradle file and instead of depending on "0.6.+", depend on "0.6.1".

続きを読む >>


AndroidStudio 0.2.13(Canary Build) で手動作業あります。

ゴツゴツと進むAndroidStudio。

0.2.13 へ更新です。

Android_Studio_Canary_Build_-_Android_Tools_Project_Site

Bug fixes:
The patch mechanism has been fixed (which prevented 0.2.12 from being sent out on the canary channel)
The Export APK dialog has been restored for Gradle projects (issue 60762)
The correct way to release an apk when using a Gradle project is to include your signing configuration inside your build scripts. This will allow you to properly sign the release versions of all the variants of your application by doing a "gradlew assembleRelease" from the command line.
We are working on coming up with a UI that achieves the same effect without having to edit the build.gradle files. (Issue 56532)
In the meantime, if you still choose to use the wizard, please make sure that you select a release version of your APK to sign and not a debug version.
From 0.2.12: The Breakpoints window does not work properly (issue 60721)
From 0.2.12: When using the Android Gradle plugin version 0.6.1, using JDK 7 in Studio does not work. ("Unable to find a JDK 1.6 installed", issue issue 60724)

Android Studio Canary Build - Android Tools Project Site

今回は?今回も?いろいろあります。

続きを読む >>