Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

error opening trace file: No such file or directory (2)

I am getting the above error:

error opening trace file: No such file or directory (2)

when I run my android application on the emulator. Can someone tell me what could be the possible reason for this?

I am using android-sdk-20 and below lines are added to AndroidManifest.xml

<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="15" /> 

I have also added the line:

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> 

since I thought that there may be some issue with writing to the sd card.

like image 289
Ankit Jain Avatar asked Jul 12 '12 06:07

Ankit Jain


Video Answer


1 Answers

It happens because you have not installed the minSdkVersion or targetSdkVersion in you’re computer. I've tested it right now.

For example, if you have those lines in your Manifest.xml:

<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="17" /> 

And you have installed only the API17 in your computer, it will report you an error. If you want to test it, try installing the other API version (in this case, API 8).

Even so, it's not an important error. It doesn't mean that your app is wrong.

Sorry about my expression. English is not my language. Bye!

like image 50
Aurumque Avatar answered Sep 24 '22 02:09

Aurumque