You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a testing project with 'gradle-eclipse-aar-plugin' and 'andmore'. When I add libraries like 'support-v4:25.0.0' , 'appcompat-v7:25.0.0' ,
then Eclipse IDE has an error for that: 'The hierarchy of the type "MainActivity" is inconsistent'.
The project structure is very simple , only one activity there, MainActivity, extends AppCompatActivity.
I reference these links:
they all mention one thing is 'you have to remove the android v4 support library from the libs folder of your project,ensure that the library has added to your project and compile again.'.
so I add some statements in my build.gradle to exclude duplicate library like this:
environment: eclipse neon.2 , android SDK 25
I have a testing project with 'gradle-eclipse-aar-plugin' and 'andmore'. When I add libraries like 'support-v4:25.0.0' , 'appcompat-v7:25.0.0' ,
then Eclipse IDE has an error for that: 'The hierarchy of the type "MainActivity" is inconsistent'.
The project structure is very simple , only one activity there, MainActivity, extends AppCompatActivity.
I reference these links:
they all mention one thing is 'you have to remove the android v4 support library from the libs folder of your project,ensure that the library has added to your project and compile again.'.
so I add some statements in my build.gradle to exclude duplicate library like this:
But !
There is nothing change for "The hierarchy of the type "MainActivity" is inconsistent" this Error message.
Can anybody help me? Thank you~
The text was updated successfully, but these errors were encountered: