You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That's not an error. It says right there that it is a Note. Based on the very very limited output you provided, I can see that the error is above that.
Whenever i try to build i got error on Notification, that was deprecated.
This is the bug:
[javac] notification.setLatestEventInfo(context, serviceTitle, serviceDescription, pIntent);
[javac] ^
[javac] symbol: method setLatestEventInfo(Context,String,String,PendingIntent)
[javac] location: variable notification of type Notification
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 1 error
BUILD FAILED
I found that some people have the same issue as me:
https://groups.google.com/forum/#!searchin/kivy-users/override$20a$20deprecated$20API./kivy-users/mf_t1ANrT40/zVC_DRn1AQAJ
I finally figure out how to fix it.... I do not know if it is the best way, but help me to put admob on my kivy app.
Possible solution:
`package org.renpy.android;
import android.app.Service;
import android.os.IBinder;
import android.os.Bundle;
import android.content.Intent;
import android.content.Context;
import android.util.Log;
import android.app.Notification;
//import android.app.NotificationCompat;
//import android.support.v4.util;
import android.app.PendingIntent;
import android.os.Process;
public class PythonService extends Service implements Runnable {
}
`
The text was updated successfully, but these errors were encountered: