0

I have made an android archive (.aar) which has two activities. I want to use those in another app.

I was able to call the functions of aar by using the aar MainActivity class but I am unable to call upon the activity using startActivity() which I need as the activity layout is not loading right now.

SAM mase
  • 1
  • 2
  • Don't think this would work with AAR; and if then through reflection, similar to [this](https://stackoverflow.com/questions/58611149/how-to-start-an-activity-in-a-dynamic-feature-module). – Martin Zeitler Jan 15 '20 at 06:41
  • Any errors? If you have any error logs, please [edit] the question and post it here. And also if possible, screenshots from the Android device you can post. – Shashanth Jan 15 '20 at 06:42

0 Answers0