My App has the following Parameters:
android {
compileSdkVersion 23
buildToolsVersion \"23.0.2\"
defaultConfig {
applicationId \"de.muni
I found the solution.
The problem was related to the 65K Methods Count. I did what android recommended in the link and so i was able to install the app again on devices with older API's.
Well to answer the question on the title of your question you should change Notification
to NotificationCompat
, i.e.:
NotificationCompat.Builder
.
The regular Notification.Builder
has setLocal
available only since API 20.