Skip to content Skip to sidebar Skip to footer

Android - Error Opening Trace File: No Such File Or Directory(2)

I am developing an android application and one part of it is to check whether the wifi of the phone is enabled or not. I am running the application directly on mobile phone.These a

Solution 1:

I guess you need the ACCESS_NETWORK_STATE in your manifest.

Solution 2:

Need to check your main class(MainActivity) file is mentioned or not in 'Manifest.xml'.

<activityandroid:label="@string/app_name"android:name="com.androidexample.demo.MainActivity" ><intent-filter ><actionandroid:name="android.intent.action.MAIN" /><categoryandroid:name="android.intent.category.LAUNCHER" /></intent-filter></activity>

Post a Comment for "Android - Error Opening Trace File: No Such File Or Directory(2)"