Keep getting - Can not extract resource from com.android.aaptcompiler.ParsedResource@231a2345.
Here's a link to my code there is the Main Activity java and the Activity Main xml files
Keep getting - Can not extract resource from com.android.aaptcompiler.ParsedResource@231a2345.
Here's a link to my code there is the Main Activity java and the Activity Main xml files
You need to create correct resource type. For example, if you open raw resource type then put the file there in res/raw and access as below. In below, we have file named project_json.json (can be any file extension).
val inputStream: InputStream = resources.openRawResource(R.raw.product_json)
Plus remove ' with '