When I build a kotlin project with cradle, I cannot use import org.json.JSONObject, and the json package is not in my library. How can I import it?
import org.json.JSONObject
I use kotlin with gradle. In build.gradle.kts:
New contributor
Cuong Duy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1