(Novice Android Dev)
I have been working with Google's open source media player seen here . One thing that I did was change the package name and now when I build the app and try it on my device, it gives a corrupt package error. I decided to try and replicate the app by just creating a new project and copying everything however it still produces the same error. If the project builds and produces an APK, then how is the package corrupt?
Any ideas on how to fix this? Not really sure what code I should include. Much obliged.
EDIT I found this error in my install debug gradle
Unable to install C:\AndroidStudioProjects\ArabicReader2\app\build\outputs\apk\app-debug.apk
com.android.ddmlib.InstallException: Unknown failure (Error: Could not access the Package Manager. Is the system running?)
It then proceeds to lists a bunch of errors ending with
`FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':app:installDebug'.
com.android.builder.testing.api.DeviceException: com.android.ddmlib.InstallException: Unknown failure (Error: Could not access the Package Manager. Is the system running?)
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.`