How to solve java.lang.nullpointerexception while sending sms using androidhelper? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to solve java.lang.nullpointerexception while sending sms using androidhelper?

from androidhelper import Android Android().smsSend("number", "message to send")

14th Aug 2020, 6:25 AM
Soma Mishra
Soma Mishra - avatar
1 Answer
+ 2
What's the exact stacktrace? Normally you can only assure your own values to be not null. If there's something going wrong with non-null values within a third party library, you'll have to investigate (stacktrace).
14th Aug 2020, 4:57 PM
Sandra Meyer
Sandra Meyer - avatar