Follow

Error in Graphical Layout Editor

When entering the graphical layout, I get the following error:

java.lang.ClassNotFoundException: org.json.JSONException 
at java.net.URLClassLoader$1.run( at java.net.URLClassLoader$1.run( at java.security.AccessController.doPrivileged( at java.net.URLClassLoader.findClass( at java.lang.ClassLoader.loadClass( at java.lang.ClassLoader.loadClass( at com.startapp.android.publish.banner.banner3d.Banner3D.<init>( at com.startapp.android.publish.banner.banner3d.Banner3D.<init>( at com.startapp.android.publish.banner.Banner.<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:422) 

at com.android.ide.eclipse.adt.internal.editors.layout.ProjectCallback.loadView(ProjectCallback.java:179) 
at android.view.BridgeInflater.loadCustomView(BridgeInflater.java:207) 
at android.view.BridgeInflater.createViewFromTag(BridgeInflater.java:135) 
at android.view.LayoutInflater.rInflate_Original(LayoutInflater.java:755) 
at android.view.LayoutInflater_Delegate.rInflate(LayoutInflater_Delegate.java:64) 
at android.view.LayoutInflater.rInflate(LayoutInflater.java:727) 
at android.view.LayoutInflater.inflate(LayoutInflater.java:492) 
at android.view.LayoutInflater.inflate(LayoutInflater.java:373)

 

Solution

This is a known issue with our banner. It might not work well in the graphical editor, but this shouldn't affect the actual performance of the banner, which should work fine on a device.

I recommend you test your app using an actual device. This should work just fine.

Was this article helpful?
1 out of 1 found this helpful
Have more questions? Submit a request

Comments