?
Solved

Android App Error:  Error opening trace file: No such file or directory (2)

Posted on 2013-05-21
8
Medium Priority
?
5,023 Views
Last Modified: 2013-06-11
Hello Experts,

I'm working in Eclipse and developing a simple Android app.  When I go to run the app, I get the following Verbose Error:
Error opening trace file: No such file or directory (2)

Open in new window

I'm testing on my actual Droid Razr Maxx device, not the emulator.

Any ideas on how I may fix this?

Thank you.
0
Comment
Question by:Modifier1000
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
8 Comments
 

Assisted Solution

by:fantasy88
fantasy88 earned 1000 total points
ID: 39193379
Please post your code to get solution
0
 

Author Comment

by:Modifier1000
ID: 39194680
Here is the code

Java file below:
package com.mcrsports.mcr;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class MainActivity extends Activity {

 @override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);
		
		//-----LATEST NEWS BUTTON-----
		Button newsButton = (Button) findViewById(R.id.latestNewsButton);		
		newsButton.setOnClickListener(new OnClickListener() {
			
		 @override
			public void onClick(View v) {
				startActivity(new Intent(MainActivity.this, LatestNewsActivity.class));
				
			}
		});
		
		//-----PARK LOCATIONS BUTTON-----
		Button parksButton = (Button) findViewById(R.id.parkLocationsButton);
		parksButton.setOnClickListener(new OnClickListener() {
			
		 @override
			public void onClick(View v) {
				startActivity(new Intent(MainActivity.this, ParkLocationsActivity.class));
				
			}
		});
				
	}

 @override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.main, menu);
		return true;
	}

}

Open in new window


Manifest file below:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.mcrsports.mcr"
    android:versionCode="1"
    android:versionName="1.0" >

    <uses-sdk
        android:minSdkVersion="7"
        android:targetSdkVersion="14" />
    <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/AppBaseTheme" >
        <activity
            android:name="com.mcrsports.mcr.MainActivity"
            android:label="@string/app_name" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity
            android:name="com.mcrsports.mcr.LatestNewsActivity"
            android:label="@string/title_activity_latest_news" >
        </activity>
        <activity
            android:name="com.mcrsports.mcr.ParkLocationsActivity"
            android:label="@string/title_activity_park_locations" >
        </activity>
    </application>

</manifest>

Open in new window

0
 
LVL 35

Expert Comment

by:girionis
ID: 39198008
Does the error affect the functionality of your application? If not I'd say you can ignore it.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:Modifier1000
ID: 39217186
Sorry for late response.  Yes, I cannot load the application.  I get a dialog box when clicking the icon that says...
Unfortunately the app has stopped.
0
 
LVL 35

Accepted Solution

by:
girionis earned 1000 total points
ID: 39221560
Do you get anything else on the console? Any stack trace?
0
 

Author Comment

by:Modifier1000
ID: 39229632
I will upload my console info tonight.
0
 

Author Comment

by:Modifier1000
ID: 39231036
Here are screenshots...
logcat.jpg
debug.jpg
0
 

Author Closing Comment

by:Modifier1000
ID: 39238303
I just recreated the project.  I was spending too much time trying to figure out something that I had only spent about 2 days working on in the first place.   Just figured it would be easier to redo.

Thanks anyways.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
Suggested Courses
Course of the Month12 days, 2 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question