Skip to main content
added 14 characters in body
Source Link
Dus
  • 4.3k
  • 6
  • 32
  • 51

Tried your code, the problem is with the 23.4.0 library.

Upgrade to 24.+ , there's no error in that lib.

For example :

compileimplementation 'com.android.support:appcompat-v7:24.2.1' // appcompat library compileimplementation 'com.android.support:design:24.2.1' 

You need to change the compile version to 24 too.

compileSdkVersion 24 

Tried your code, the problem is with the 23.4.0 library.

Upgrade to 24.+ , there's no error in that lib.

For example :

compile 'com.android.support:appcompat-v7:24.2.1' // appcompat library compile 'com.android.support:design:24.2.1' 

You need to change the compile version to 24 too.

compileSdkVersion 24 

Tried your code, the problem is with the 23.4.0 library.

Upgrade to 24.+ , there's no error in that lib.

For example :

implementation 'com.android.support:appcompat-v7:24.2.1' // appcompat library implementation 'com.android.support:design:24.2.1' 

You need to change the compile version to 24 too.

compileSdkVersion 24 
Source Link
Dus
  • 4.3k
  • 6
  • 32
  • 51

Tried your code, the problem is with the 23.4.0 library.

Upgrade to 24.+ , there's no error in that lib.

For example :

compile 'com.android.support:appcompat-v7:24.2.1' // appcompat library compile 'com.android.support:design:24.2.1' 

You need to change the compile version to 24 too.

compileSdkVersion 24