简体   繁体   中英

My app not able to find a crosswalk dependency and R file

I have followed this link https://crosswalk-project.org/documentation/android/embedding_crosswalk_rvw.html to embed crosswalk in my android project.When I try to install,my app is crashing with below er

 java.lang.NoClassDefFoundError: Failed resolution of: Lorg/xwalk/core/R$string;

我的活动代码看起来像这样

I've double-checked the dependencies from the gradle file. Any idea?

I have imported .jar crosstalk file as module project in my app.after that I have tried with .aar file(xwalk_core_library-23.53.589.4.aar) which i got from this link

https://download.01.org/crosswalk/releases/crosswalk/android/maven2/org/xwalk/xwalk_core_library/23.53.589.4/

Not it is working fine

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM