Closed puneetv05 closed 11 years ago
and same error in other apps too
It seems you have not imported ActionsContentViewLib project in workspace you use for applications. Please import it to same workspace where AcrionsContentViewExample is and try again.
hmm I just imported manually and tried project prop. reference to Library also but when compiling same error occurred. :( any other suggestion ?
There is issue with missed resource value for R.dimen.default_actionscontentview_spacing. Could you check that you have it set at library or application projects?
hmm which one I have to choose - import project module dependencies or import library?
You are done. It should work well now.
why I have to Import ActionsContentViewExample project ?
Please try my example first to see how it works. After that you would probably find problem in your code or configuration.
ya got it thanks Steven Rudenko but How I import your library in my project?
Now you can use it in your project.
:+1: Thanks :)
did you get ActionsContentView work with your project?
Getting this error "Android requires compiler compliance level 5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project Properties."
It is your Eclipse configuration problem. Please use following steps to resolve issue:
Do this for all Android projects or workspace setting and problem should be resolved.
Set Compiler level to 1.6. and check you Environment Variable Path for JAVA
Got this error when i opened example.xml (ActionsContentView Example)
The following classes could not be instantiated:
android.content.res.Resources$NotFoundException: Could not resolve resource value: 0x7F060000. at android.content.res.BridgeResources.throwException(BridgeResources.java:693) at android.content.res.BridgeResources.getDimensionPixelSize(BridgeResources.java:406) at shared.ui.actionscontentview.ActionsContentView.(ActionsContentView.java:169)
at shared.ui.actionscontentview.ActionsContentView.(ActionsContentView.java:157)
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: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)