即使在我的活动中没有这样的方法时,我也会得到这个错误:java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.Object.toString()' on a null object reference。 public class MyActivity extends AppCompatActivity implements GoogleApiClient.ConnectionCallbacks, GoogleApiClient.
startActivity(视频意图);
Intent intent=getIntent(); String [] Array = intent.getStringArrayExtra("string-arrayW/Bundle(521): Key string-array expected String[] but value was a java.util.ArrayList.