1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

webpay-token-androidのサンプルコードコンパイル時に出たエラー

Posted at

エラー1

Error:(2) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'.
Error:(2) Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'.

対処方法
buile.gradle(Module.sample)の
android {
compileSdkVersion 23//rootProject.compileSdkVersion
buildToolsVersion rootProject.buildToolsVersion

   compileSdkVersion rootProject.compileSdkVersion
   
   を
      compileSdkVersion 23に変更

エラー2
Error:Execution failed for task ':webpay-token:processReleaseResources'. > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/Users/inaodaisuke/Library/Android/sdk/build-tools/21.1.2/aapt'' finished with non-zero exit value 1

対処方法
Androidstudio → ファイル →  Othersetting → defaultsetting → Build,Execution,deployment → BuildTool →  Compiler → javacompiler → Project bytecode versionを1.8に変更

*効果があったかわからない

1
1
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
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?