android - Multiple dex error -


If I click on graphical layout then I get this exception below:

  Exceptions have been raised during rendering: com.android.layoutlib.bridge.MockView can not be inserted for Android. View.ViewGroup are logged in the exception details window; View & gt; Error log The following classes can not be done immediately: - android.support.v4.widget.DrawerLayout (Open class, show error log)  

then Java build path -> Orders and exports :

Image details here Enter

In the above screenshot if I get a Multiple Dex error in the console in check in android.support.v4.jar :

  • Android-Support- v4 caused this error This jar was not updated in the project. This size is approximately 325 kb.So that I realized the jar from other sample applications. The size of the jar in the application of that sample will be 530 kb. Then I think, the QMR project Jar was an error. This is not an update jar. So I removed the jar kept in the QRR and added the sample project jar. Then it solved my problem.

  • Error if I would place a jar in this directory (E: \ Android Eclipse \ Android \ sdk \ extras \ android \ support \ v4) This directory is applicable to adding a jar but not in my project.

  • Because other jars like json.jar, there is a directory in libgoogleanalytics.jar in e: \ workspace \ Workspace1 \ sample-android \ libs. So in my project, add a jar to the same directory fixes my problem


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -