pull/144/head
21561 12 months ago
parent ae33f563e5
commit 173d248d45
  1. 2
      app/build.gradle
  2. 3
      app/src/main/java/com/github/tvbox/osc/ui/activity/HomeActivity.java
  3. 2
      player/build.gradle
  4. 2
      pyramid/build.gradle
  5. 3
      quickjs/build.gradle

@ -5,7 +5,7 @@ android {
defaultConfig { defaultConfig {
applicationId 'com.github.tvbox.osc' applicationId 'com.github.tvbox.osc'
targetSdkVersion 26 targetSdkVersion 28
versionCode 1 versionCode 1
versionName '1.0.0' versionName '1.0.0'
multiDexEnabled true multiDexEnabled true

@ -342,11 +342,12 @@ public class HomeActivity extends BaseActivity {
@Override @Override
public void error(String msg) { public void error(String msg) {
jarInitOk = true; jarInitOk = true;
dataInitOk = true;
mHandler.postDelayed(new Runnable() { mHandler.postDelayed(new Runnable() {
@Override @Override
public void run() { public void run() {
Toast.makeText(HomeActivity.this, msg+"; 尝试加载最近一次的jar", Toast.LENGTH_SHORT).show(); Toast.makeText(HomeActivity.this, msg+"; 尝试加载最近一次的jar", Toast.LENGTH_SHORT).show();
refreshHome(); initData();
} }
},50); },50);
} }

@ -7,7 +7,7 @@ android {
defaultConfig { defaultConfig {
minSdkVersion 16 minSdkVersion 16
targetSdkVersion 26 targetSdkVersion 28
} }
buildTypes { buildTypes {

@ -8,7 +8,7 @@ android {
defaultConfig { defaultConfig {
minSdkVersion 16 minSdkVersion 16
targetSdkVersion 26 targetSdkVersion 28
ndk { ndk {
//abiFilters 'arm64-v8a' //abiFilters 'arm64-v8a'
//noinspection ChromeOsAbiSupport //noinspection ChromeOsAbiSupport

@ -3,12 +3,11 @@ plugins {
} }
android { android {
// ndkPath = "D:\\Android\\NDK\\android-ndk-r23b\\"
compileSdkVersion 33 compileSdkVersion 33
defaultConfig { defaultConfig {
minSdkVersion 16 minSdkVersion 16
targetSdkVersion 26 targetSdkVersion 28
externalNativeBuild { externalNativeBuild {
cmake { cmake {
abiFilters 'armeabi-v7a' abiFilters 'armeabi-v7a'

Loading…
Cancel
Save