(slove)Problem to run Shadowsocks with error "Cause: java.lang.NullPointerException"

I have a problem when I running the app with an error ‘Cause: java.lang.NullPointerException’
in Android studio.
I Have ubuntu and I did config step by step
how can I fix this problem?

java.lang.RuntimeException: com.android.build.api.transform.TransformException: java.lang.NullPointerException
at com.android.builder.profile.Recorder$Block.handleException(Recorder.java:55)
at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:104)
at com.android.build.gradle.internal.pipeline.TransformTask.transform(TransformTask.java:230)
at sun.reflect.GeneratedMethodAccessor816.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
at