简体   繁体   中英

cannot resolve public class from other package

I created public class named "KeyClass" in one package and want to import it in another package, but Android Studio cannot resolve it.

这是KeyClass类

Android Studio无法在另一个包中解决该问题

I solved the problem - it was about dependencies. Deleted maven central dependency and added:

compile project(':rncryptor-native')

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