我試圖測試應用程序(testbuild)的活動生命週期。當我開始編寫測試用例類時,我在類聲明中發現「testbuild」無法解析爲類型的錯誤。請有人解決這個問題。類聲明錯誤,「testbuild」無法解析到類型
package com.example.testbuild.test;
import android.test.ActivityInstrumentationTestCase2;
import com.example.testbuild.*;
public class second extends ActivityInstrumentationTestCase2<testbuild>
{
}
什麼是'testbuild'?它是活動嗎?並且使用'gradle'或'ant'? – eleven
testbuild是要測試的項目。 – user2750644