I'm creating an APP in Android Studio 3.1.3 with the Android Platform Version API 28 revision 4.
The fact is that until a few days ago I only had a Samsung Galaxy Tab Model SM-T210 with android 4.4.2 to test the APP. But now I have a Samsung Galaxy J3 2016 with android 5.1.1 and when running the projects does not work, I get the following errors:
Caused by: java.lang.RuntimeException: com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: Failed to execute aapt
Caused by: com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: Failed to execute aapt
Caused by: com.android.ide.common.process.ProcessException: Failed to execute aapt
Caused by: java.util.NoSuchElementException
The fact is that until now I had not had any problems, because I have created other APPs from my old computer and I never had this problem. Recently I changed equipment and started this kind of mistakes.
Thank you very much everyone.