The following classes could not be instantiated: - com.baidu.mapapi.map.MapView
The following classes could not be instantiated:
- com.baidu.mapapi.map.MapView (Open Class, Show Error Log)
See the Error Log (Window > Show View) for more details.
Tip: Use View.isInEditMode() in your custom views to skip code when shown in Eclipse
Turn off custom view rendering sandbox
Diagnostic info for ADT bug report:
Failed path: null\BaiduMapSDK
Normal temp dir: C:\Users\chenjing\AppData\Local\Temp\
Normalized temp dir: C:\Users\chenjing\AppData\Local\Temp
Canonical temp dir: C:\Users\chenjing\AppData\Local\Temp
os.name: Windows 7
os.version: 6.1
java.runtime.version: 1.8.0_25-b18
Write access not allowed during rendering (null\BaiduMapSDK)
at com.android.ide.common.rendering.RenderSecurityException.create(RenderSecurityException.java:52)
at com.android.ide.common.rendering.RenderSecurityManager.checkWrite(RenderSecurityManager.java:544)
at java.io.File.mkdir( at java.io.File.mkdirs( at com.baidu.mapapi.utils.b.a( at com.baidu.mapapi.map.MapView.a( at com.baidu.mapapi.map.MapView.<init>( at sun.reflect.NativeConstructorAccessorImpl.newInstance0( at sun.reflect.NativeConstructorAccessorImpl.newInstance( at sun.reflect.DelegatingConstructorAccessorImpl.newInstance( at java.lang.reflect.Constructor.newInstance( at com.android.ide.eclipse.adt.internal.editors.layout.ProjectCallback.instantiateClass(ProjectCallback.java:442)
at com.android.ide.eclipse.adt.internal.editors.layout.ProjectCallback.loadView(ProjectCallback.java:194)
at android.view.BridgeInflater.loadCustomView(BridgeInflater.java:206)
at android.view.BridgeInflater.createViewFromTag(BridgeInflater.java:131)
at android.view.LayoutInflater.rInflate_Original(LayoutInflater.java:746)
at android.view.LayoutInflater_Delegate.rInflate(LayoutInflater_Delegate.java:64)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:718)
at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
at android.view.LayoutInflater.inflate(LayoutInflater.java:372)