i was have a problem from monthes that fixed with this code:
in app build.gradle:
and every thing was working fine
untill i updated google repository and by wrong updated android support
repository too (SDK manager)
so i can use:
and then have so many errors like somthing in java.exe , another thing
about dublicate entry
but i hardly fixed all of them by searching online
now no errors while building my APK but once open the app on my phone it
then noticed that in all my layouts (.xml) that i use
android.support.design.widget.NavigationView inside them telling me this
Rendering Problems The following classes could not be instantiated:
- android.support.design.widget.NavigationView (Open Class, Show Exception,
- android.support.design.internal.NavigationMenuView (Open Class, Show
Exception, Clear Cache)
Tip: Use View.isInEditMode() in your custom views to skip code or show
sample data when shown in the IDE
i clicked on open class and found many line that cannot be resolved:
some of this lines is in other class that i made and working fine but in
NavigationView.class and NavigationMenuPresenter.java it cannot be resolved
so any help please ?? :D
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to email@example.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.