Skip to content

Commit a1f1821

Browse files
committed
run android debug
1 parent 6ba1bd8 commit a1f1821

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

example/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ import com.android.build.OutputFile
7676
*/
7777

7878
project.ext.react = [
79-
entryFile: "index.js"
79+
entryFile: "example/index.js"
8080
]
8181

8282
apply from: "../../../node_modules/react-native/react.gradle"

example/android/app/src/main/java/com/example/MainApplication.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ protected List<ReactPackage> getPackages() {
2929

3030
@Override
3131
protected String getJSMainModuleName() {
32-
return "index";
32+
return "example/index";
3333
}
3434
};
3535

react-native.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ module.exports = {
66
root,
77
},
88
},
9-
};
9+
};

0 commit comments

Comments
 (0)