I am trying to implement mobile sdk on android, basically following the standard steps
1. Created an empty activity in android studio with Java
2. Created mobile property in launch
3. Copied the dependencies and pasted in gradle
4. Copied and pasted the import code.
Issue i am facing is the Lifecycle, Signal and few others are showing as red when trying to import, and error says cannot resolve symbol.
Solved! Go to Solution.
Views
Replies
Total Likes
Hey, @V_Sirish_Kaushik, I think this could be a temp issue; I tried a build using my test app with a similar configuration, and I didn't get any errors. Can you check if your file is importing the right BuildConfig class? Sometimes if you have other project libraries or modules, it may import the wrong buildConfig or try -
Build -> Clean Project;
File -> Invalidate Caches / Restart...
Build -> Rebuild Project
Hey, @V_Sirish_Kaushik, I think this could be a temp issue; I tried a build using my test app with a similar configuration, and I didn't get any errors. Can you check if your file is importing the right BuildConfig class? Sometimes if you have other project libraries or modules, it may import the wrong buildConfig or try -
Build -> Clean Project;
File -> Invalidate Caches / Restart...
Build -> Rebuild Project