Try the cardview-1.0.0.jar/.aar
2024-11-13 07:34:20.203 25964-25964/? E/com.google.appinventor.components.runtime.util.RuntimeErrorAlert: Failed resolution of: Landroidx/cardview/R$attr;
Try using cardview-1.0.0.aar instead of cardview-1.0.0.jar
FAST v1.2.6 or above is required.
source code of this jar file i have to use?
As you're using FAST so you could use .aar file as a dependency instead of .jar. It'll include the R.class with the extension. It might be helpful to resolve the issue.
like this
Extension dependencies (JAR) [Should be present into deps directory]
dependencies:
- recyclerview.jar
- cardview.aar
Extension assets. [Should be present into assets directory]
#assets:
#- my-awesome-asset.anything
Yes, run fast sync
and then fast build
The issue you are experiencing with missing resources cannot be resolved by including them with the extension at this time. As a workaround, you will need to drag the ListView component into your project and set its visibility to hidden.
C:\ai2tmp\recyclerview3403848449194015554.jar
[RunD8] ERROR: d8 failed.
[RunD8] Task errored in 3.109 seconds
now i drag listview component and build apk then giving this error if i m not using listview component then its working fine an build apk succsesfully
i m getting confused when i m using RecyclerView lib then i cant drag ListviewComponent its giving error d8 error if i m using library then i have to remove listviewcomponent and if i m draging listviewComponrnt i have to remove Library then its working fine no giving d8 error
It's because the ListView component has recyclerview and cardview libraries built-in.
any solution for this ?
As you are encountering issues with missing resources, it will not be feasible to include them with the extension. I kindly suggest that you remove the recyclerview jar and rely on the in-built libraries.
suposed user used my extension then he cant use ListViewComponent i m right ?
If you remove the recyclerview jar from your aix and rely on the in-built library with the ListView component, users will be able to use the ListView component. For now, this would be the most suitable option for you.
thanks u so much u help me a lot ....
is there any easy solution for this problem?? my apk is still crashing..
হেলো রিয়াদ, সমস্যা ধরতে ডিভাইস লগস চেক করেন এবং বুঝতে না পারলে এখানে পেস্ট করেন।