android - IntelliJ cannot resolve resources nor AndroidManifest.xml in SBT (multi)project -


ever since i've migrated android project gradle sbt become unable work resources:

  • each symbol within xml resources (e.g. @string/app_name) highlighted red , displays error message (e.g. cannot resolve '@string/app_name' symbol),
  • layouts editors fail work variables in layouts unresolved, cannot edit them,

what more ide reports androidmanifest.xml missing , unable run app within ide, because unable configure run configuration. automatic refactoring of manifest , resources e.g. activity class name changed fails.

however, resources , manifest in place. facets set correctly can seen in picture:

errors shown ide

what tried , haven't worked:

  • editing facets - of them set correctly,
  • invalidating cache , restarting intellij,
  • removing .idea directory , reimporting project sbt plugin,
  • syncing projects in gradle ones - there no such option sbt, best was refresh build.

normally suspect build reason not working, but:

  • sbt clean app/android:run correctly builds application scratch , load emulated device, works expected,
  • facets within ide set correctly, dependencies correctly recognized, projects correctly set up.

what can try diagnose/resolve issue?

disable source generation in ide.

resources aar not resolve in local xml resources, limitation of idea sbt project import support


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -