-1

When I am trying to build my app using android studio, I have faced with following error :

enter image description here

After clicking ok, it can not unistall the app because I already unistalled it. I get the following error :

$ adb shell pm uninstall com.siritime DELETE_FAILED_INTERNAL_ERROR Error while Installing APK

I was able run the app on my device before, a few days ago I have added push notification ability using GCM and I am not sure if the problem is related to that (I add GCM codes to my project and customized it) . the app could run on similature or other devices well but not on my device,

Could u please guide me what is wrong on my phone ? I have test some other solution in different pages but they did not worked for me>> like this one...

I did not used a provider, should I implement one ?

the part of manifest that I added from GCM push notification sample code is :` />

    <service
        android:name=".peyv.gcm.MyInstanceIDListenerService"
        android:exported="false">
        <intent-filter>
            <action android:name="com.google.android.gms.iid.InstanceID" />
        </intent-filter>
    </service>


    <service
        android:name=".peyv.gcm.MyGcmListenerService"
        android:exported="false">
        <intent-filter>
            <action android:name="com.google.android.c2dm.intent.RECEIVE" />
        </intent-filter>
    </service>
    <service
        android:name=".peyv.gcm.RegistrationIntentService"
        android:exported="false"></service>

`

thanks all

Community
  • 1
  • 1
Sir1
  • 732
  • 1
  • 8
  • 18

1 Answers1

0

Dear all I have found the problem myself, so I don't know if somebody else will face to this or not, just I share mine solution and hope it help someone:

I add an applicationID to my gradel like this

defaultConfig {
    applicationId "App Package Name like com.example"
    multiDexEnabled true
    minSdkVersion 15
    targetSdkVersion 22
}

Thanks all.

Sir1
  • 732
  • 1
  • 8
  • 18