Commit 4de39f3b authored by Mygod's avatar Mygod Committed by Max Lv

Fix build

parent 4898ff58
......@@ -32,6 +32,15 @@ jobs:
- store_artifacts:
path: tv/build/outputs/apk
destination: apk/tv
- store_artifacts:
path: core/build/reports
destination: reports/core
- store_artifacts:
path: mobile/build/reports
destination: reports
destination: reports/mobile
- store_artifacts:
path: plugin/build/reports
destination: reports/plugin
- store_artifacts:
path: tv/build/reports
destination: reports/tv
package com.github.shadowsocks;
import android.content.Context;
import androidx.test.InstrumentationRegistry;
import androidx.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
@Test
public void useAppContext() throws Exception {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getTargetContext();
assertEquals("com.github.shadowsocks.core.test", appContext.getPackageName());
}
}
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.github.shadowsocks">
package="com.github.shadowsocks"
tools:ignore="MissingLeanbackSupport">
<uses-permission android:name="android.permission.NFC" />
<uses-permission android:name="android.permission.CAMERA" />
......@@ -12,7 +13,9 @@
<uses-feature android:name="android.hardware.camera"
android:required="false"/>
<application android:name=".App">
<application
android:name=".App"
tools:ignore="MissingTvBanner">
<activity
android:name=".MainActivity"
......
......@@ -13,6 +13,7 @@
<application
android:name=".App"
android:theme="@style/Theme.Shadowsocks.TV"
tools:ignore="MissingTvBanner"
tools:replace="theme">
<activity
android:name=".MainActivity"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment