LoginSignup
0
0

More than 5 years have passed since last update.

AndroidStudioのgradle pluginのバージョンを2.2.0へ変更したらRobolectricを使ったテストに失敗する

Posted at

問題

Android Studio 2.2がリリースされ,早速アップデートするとともに gradle plugin も2.2.0へ引き上げたところ,Robolectricを用いたテストがコケるようになりました.

java.lang.RuntimeException: java.lang.RuntimeException: build/intermediates/manifests/full/{product_flavors}/debug/AndroidManifest.xml not found or not a file; it should point to your project's AndroidManifest.xml

もともと使っていた 2.1.3 へ戻すとビルドが通ります.

解決

Robolectricのバージョンが 3.0 からアップデートされていませんでした.
3.1.2 を使うようにして,無事テストがまた通るようになりました.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0