java.lang.IllegalArgumentException: Service Intent must be explicit: Intent
异常是说必须明确的指出 intent
即android 5.0 之后不能载用隐式意图操作service
而应该是用显式的意图操作service
如:
service = Intent()service.setAction("action名)service.setPackage()startService(service)
java.lang.IllegalArgumentException: Service Intent must be explicit: Intent
异常是说必须明确的指出 intent
即android 5.0 之后不能载用隐式意图操作service
而应该是用显式的意图操作service
如:
service = Intent()service.setAction("action名)service.setPackage()startService(service)
转载于:https://my.oschina.net/zaizaiangels/blog/620303