Android的 - 错误打开跟踪文件:没有这样的文件或目录(2) [英] Android - error opening trace file: No such file or directory(2)

查看:113
本文介绍了Android的 - 错误打开跟踪文件:没有这样的文件或目录(2)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发一个Android应用程序和它的一个组成部分,是检查手机的无线网络是否启用与否。

I am developing an android application and one part of it is to check whether the wifi of the phone is enabled or not.

我在移动phone.These运行的应用程序直接一些错误

I am running the application directly on mobile phone.These are some errors

error opening trace file: No such file or directory (2)
Refusing to reopen boot DEX 'system/framework/hwframework.jar'

这是我的清单文件

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.demo"
    android:versionCode="1"
    android:versionName="1.0" >

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

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

    <application
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" >
        <activity
            android:name="com.example.demo.Test_allActivity"
            android:label="@string/app_name" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>

</manifest>

我很新的机器人,并不能找出解决方案。谢谢你是进步

I am very new to android , and can't figure out the solution. Thanks is advance

推荐答案

我想你需要的 ACCESS_NETWORK_STATE 在你的清单。

I guess you need the ACCESS_NETWORK_STATE in your manifest.

这篇关于Android的 - 错误打开跟踪文件:没有这样的文件或目录(2)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆