Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8094307
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T20:45:34+00:00 2026-06-05T20:45:34+00:00

I am getting error unfortunately, myapp has stopped when I am trying to open

  • 0

I am getting error “unfortunately, myapp has stopped” when I am trying to open an app which is installed through eclipse on android emulator.here are my files

java file:

@Override
public void onStart() {
    super.onStart();
    try {
        // Initialized SDKs that need to; pass in publisher ids
        Map<SDKAdNetwork, String> publisherIds = new HashMap<SDKAdNetwork, String>();
        publisherIds.put(SDKAdNetwork.GREYSTRIPE, "486417");
        if (medialetsInitialized == false) {
            publisherIds.put(SDKAdNetwork.MEDIALETS,
                    "PutYourIDHere");
        }
        AdMarvelView.initialize(this, publisherIds, handler);

    } catch (Exception e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
    }
    // your code
}

@Override
protected void onPause() {
    // TODO Auto-generated method stub
    super.onPause();

    try {
        // Initialized SDKs that need to; pass in publisher ids
        Map<SDKAdNetwork, String> publisherIds = new HashMap<SDKAdNetwork, String>();
        publisherIds.put(SDKAdNetwork.GREYSTRIPE, "486417");
        publisherIds.put(SDKAdNetwork.MEDIALETS,
                "PutYourIDHere");

        AdMarvelView.pause(this, publisherIds);

        AdMarvelView adMarvelView = (AdMarvelView) findViewById(R.id.ad);
        if (adMarvelView != null) {
            adMarvelView.flush();
        }

    } catch (Exception e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
    }
}

@Override
protected void onResume() {
    // TODO Auto-generated method stub
    super.onResume();

    try {
        // Initialized SDKs that need to; pass in publisher ids
        Map<SDKAdNetwork, String> publisherIds = new HashMap<SDKAdNetwork, String>();
        publisherIds.put(SDKAdNetwork.GREYSTRIPE, "486417");
        publisherIds.put(SDKAdNetwork.MEDIALETS,
                "PutYourIDHere");

        AdMarvelView.resume(this, publisherIds);

    } catch (Exception e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
    }
}

@Override
public void onStop() {
    super.onStop();

    try {
        Map<SDKAdNetwork, String> publisherIds = new HashMap<SDKAdNetwork, String>();
        publisherIds.put(SDKAdNetwork.GREYSTRIPE, "486417");
        if (medialetsInitialized == true) {
            publisherIds.put(SDKAdNetwork.MEDIALETS,
                    "PutYourIDHere");
            medialetsInitialized = false;
        }
        AdMarvelView.uninitialize(this, publisherIds);

    } catch (Exception e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
    }

    // your code
}

/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    setContentView(R.layout.main);

    handler = new AdMarvelInitializedHandler();

    final Button button = (Button) findViewById(R.id.Button01);

    final EditText editText01 = (EditText) findViewById(R.id.EditText01);

    final EditText editText02 = (EditText) findViewById(R.id.EditText02);

    final EditText editText03 = (EditText) findViewById(R.id.EditText03);

    AdMarvelView adMarvelView = (AdMarvelView) findViewById(R.id.ad);
    adMarvelView.setEnableClickRedirect(true);
    adMarvelView.setDisableAnimation(false);
    adMarvelView.setListener(this);
    adMarvelView.setEnableInAppBrowser(true);

    editText01.setText(_partnerId);
    editText02.setText(_siteId);
    editText03.setText(_interstitialSiteId);

    adMarvelInterstitialAds = new AdMarvelInterstitialAds(this, 0,
            0x726D6D, 0x00FF00, 0x000000);

    button.setOnClickListener(new OnClickListener() {

        public void onClick(View v) {

            try {
                Map<String, String> targetParams = new HashMap<String, String>();
                // targetParams.put("GEOLOCATION", "37.686668,-77.4510549");
                // targetParams.put("POSTAL_CODE", "94131");

                final EditText editText01 = (EditText) findViewById(R.id.EditText01);
                final EditText editText02 = (EditText) findViewById(R.id.EditText02);

                String partnerId = editText01.getText().toString();
                String siteId = editText02.getText().toString();

                AdMarvelView adMarvelView = (AdMarvelView) findViewById(R.id.ad);
                adMarvelView.requestNewAd(targetParams, partnerId, siteId);
            } catch (Exception e) {
                // TODO Auto-generated catch block

                Log.e("admarvel", e.getStackTrace().toString());
            }

        }

    });

    final Button button2 = (Button) findViewById(R.id.Button02);

    button2.setOnClickListener(new OnClickListener() {

        public void onClick(View v) {

            Map<String, String> targetParams = new HashMap<String, String>();

            targetParams.put("SIZE", "VIDEOPRE");

            final EditText editText01 = (EditText) findViewById(R.id.EditText01);
            final EditText editText03 = (EditText) findViewById(R.id.EditText03);

            String partnerId = editText01.getText().toString();
            String interstitialSiteId = editText03.getText().toString();

            AdMarvelInterstitialAds
                    .setListener(AdMarvelHelloWorldDemo.this);
            AdMarvelHelloWorldDemo.this.adMarvelInterstitialAds
                    .requestNewInterstitialAd(AdMarvelHelloWorldDemo.this,
                            targetParams, partnerId, interstitialSiteId);

        }

    });

}

public void onClickAd(AdMarvelView adMarvelView, String clickUrl) {
    if (clickUrl != null) {
        Log.e("admarvel", "ClickUrl: " + clickUrl);
    }

}

public void onFailedToReceiveAd(AdMarvelView adMarvelView, int errorCode,
        ErrorReason errorReason) {
    Log.e("admarvel", "onFailedToReceiveAd; errorCode: " + errorCode
            + " errorReason: " + errorReason.toString());

}

public void onFailedToReceiveInterstitialAd(SDKAdNetwork sdkAdNetwork,
        String publisherid, int errorCode, ErrorReason errorReason) {

    Log.e("admarvel", "onFailedToReceiveInterstitialAd; errorCode: "
            + errorCode + " errorReason: " + errorReason.toString());

}

public void onReceiveAd(AdMarvelView adMarvelView) {
    Log.e("admarvel", "onReceiveAd");
}

public void onRequestAd(AdMarvelView adMarvelView) {
    Log.e("admarvel", "onRequestAd");

}

public void onRequestInterstitialAd() {
    Log.e("admarvel", "onRequestInterstitialAd");
}

public void onReceiveInterstitialAd(SDKAdNetwork sdkAdNetwork,
        String publisherid, AdMarvelAd adMarvelAd) {
    Log.e("admarvel", "onReceiveInterstitialAd");

    adMarvelInterstitialAds.displayInterstitial(this, sdkAdNetwork,
            publisherid, adMarvelAd);
    if (sdkAdNetwork.equals(SDKAdNetwork.ADMARVEL)) {
        // overridePendingTransition(R.anim.fadein, R.anim.fadeout);
    }
}

public void onCloseInterstitialAd() {
    Log.e("admarvel", "onCloseInterstitialAd");
    if (this.adMarvelActivity != null) {
        this.adMarvelActivity.finish();
    } else if (this.adMarvelVideoActivity != null) {
        this.adMarvelVideoActivity.finish();
    }

}

public void onAdmarvelActivityLaunched(AdMarvelActivity a) {
    Log.e("admarvel", "onAdmarvelActivityLaunched");
    this.adMarvelActivity = a;

}

public void onAdMarvelVideoActivityLaunched(AdMarvelVideoActivity a) {
    Log.e("admarvel", "onAdmarvelVideoActivityLaunched");
    this.adMarvelVideoActivity = a;

}

public void onExpand() {
    Log.e("admarvel", "onExpand");

}

public void onClose() {
    Log.e("admarvel", "onClose");

}

private class AdMarvelInitializedHandler implements
        AdMarvelInitializeListener {

    public void onInitialized(SDKAdNetwork adnetwork) {

        if (adnetwork.equals(SDKAdNetwork.MEDIALETS)) {
            medialetsInitialized = true;
        }

    }

}

    }

and here is the manifest file

     <?xml version="1.0" encoding="utf-8"?>
     <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.admarvel.androidhelloworlddemo" android:versionCode="1"
android:versionName="1.5">

<application android:icon="@drawable/icon" android:label=""
    android:debuggable="true"  android:configChanges="orientation" >
    <activity android:name=".AdMarvelHelloWorldDemo"
        android:label="">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>

    <activity android:name="com.admarvel.android.ads.AdMarvelActivity"
        android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
        android:configChanges="keyboard|keyboardHidden|orientation"
        >
    </activity>
    <activity android:name="com.admarvel.android.ads.AdMarvelVideoActivity"
    android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
        android:configChanges="keyboard|keyboardHidden|orientation"
        >
    </activity>

    <provider android:name="com.admarvel.android.ads.AdMarvelLocalFileContentProvider"
      android:authorities="com.admarvel.androidhelloworlddemo.AdMarvelLocalFileContentProvider" />

    <!--
        ADMARVEL: If your integrating with Admob, please define this activity
    -->

    <activity android:name="com.google.ads.AdActivity"
          android:configChanges="keyboard|keyboardHidden|orientation"/>

    <!--
        ADMARVEL: If your integrating with Ivdopia, please define this activity
    -->

    <activity android:name="com.vdopia.client.android.VDOActivity"
        android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen"
        android:screenOrientation="landscape" android:configChanges="orientation|keyboardHidden" />

    <!--
        ADMARVEL: If your integrating with Greystripe, please define this
        provider
    -->
    <provider android:name="com.greystripe.android.sdk.AdContentProvider"
        android:authorities="com.admarvel.androidhelloworlddemo.AdContentProvider"
        android:multiprocess="true" android:exported="false" />

    <!--
        ADMARVEL: If your integrating with Medialets, please define this

    -->
    <service android:name="com.medialets.advertising.AdManagerService" />

    <!--
        ADMARVEL: If your integrating with Greystripe, please define this
        activity
    -->
    <activity android:name="com.greystripe.android.sdk.AdView"
        android:configChanges="keyboard|keyboardHidden|orientation">
        <intent-filter>
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>


    <!-- 
        ADMARVEL:  If your integrating with Millennial, please define this
     -->

    <activity android:name="com.millennialmedia.android.MMAdViewOverlayActivity" 
                android:theme="@android:style/Theme.Translucent.NoTitleBar">
    </activity>        
    <activity android:name="com.millennialmedia.android.VideoPlayer" 
                android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
                android:configChanges="keyboardHidden|orientation|keyboard" >
    </activity>

    <!-- 
        ADMARVEL:  If your integrating with Rhythm, please define this
     -->
  <activity android:label="Rhythm Activity"
                        android:theme="@android:style/Theme.Translucent.NoTitleBar"
                        android:configChanges="keyboard|keyboardHidden|orientation"
                        android:name="com.rhythmnewmedia.sdk.RhythmActivity" />
  <activity android:label="Rhythm Video Activity"
                        android:theme="@android:style/Theme.Black.NoTitleBar"
                        android:configChanges="keyboard|keyboardHidden|orientation"
                         android:name="com.rhythmnewmedia.sdk.video.RhythmVideoActivity" />

</application>
<uses-sdk android:minSdkVersion="3" />

<supports-screens android:largeScreens="true"                  
              android:anyDensity="true" />

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

<!-- REQUIRED BY GREYSTRIPE, MEDIALETS, RHYTHM AND MILLENNIAL  -->
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

<!-- REQUIRED BY MEDIALETS -->
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />

    </manifest> 

can someone please help.

EDIT: heres the link to logcat

logcat file

please help! Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T20:45:36+00:00Added an answer on June 5, 2026 at 8:45 pm

    It looks like it’s looking for a content provider based on this message, but it can’t find it (ClassNotFound)

    Unable to get provider com.greystripe.android.sdk.AdContentProvider
    

    Are you missing a jar in the libs folder?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following code and keep getting the error: AttributeError: 'NoneType' object has
I'm trying to install ruby using RVM in Cygwin, but I'm getting the error:
I'm getting this error when trying to do : bundle exec cap deploy RVM
getting error while try to start service
Getting error when I tried like this: $ci =& get_instance(); $ci->db->select(CONCAT_WS(' ',users.name_first,users.name_last) AS user_name,CONCAT_WS('
Getting error while inserting values into database (SQL Server 2008) Implicit conversion from data
Now getting error Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT
Update getting error when i try to call the method from Activity: SQLiteDatabase db
I am getting error in the sql statement. (server= RAJ-PC\SQLEXPRESS; user id=sa; password=as64ws; database=onlineshopping,
I'm getting error while using replace in an update statement in sql server 2008.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.