只有在将Unity Gradle导入android studio时,我才收到一长串错误。我认为这可能是我导入文件的方式有问题。如果是这个问题,将项目从Unity转移到android studio的最佳方式是什么?任何建议都是非常感谢的。
2019-01-26 15:33:37.700 1522-1533/? E/vold: Failed to chmod /data/system_ce/0: No such file or directory
2019-01-26 15:33:37.700 1522-1533/? E/vold: Failed to chmod /data/misc_ce/0: No such file or directory
2019-01-26 15:33:37.700 1522-1533/? E/vold: Failed to chmod /data/media/0: No such file or directory
2019-01-26 15:34:13.500 1700-1732/? E/storaged: getService package_native failed
2019-01-26 15:34:13.504 1700-1732/? E/storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
2019-01-26 15:34:18.575 1700-1732/? E/storaged: getService package_native failed
2019-01-26 15:34:42.877 1522-1533/? E/vold: Failed to read field SystemLocale: No such file or directory
2019-01-26 15:34:55.456 1590-1590/? E/android.hardware.wifi@1.0-service: Failed to register radio mode change callback
2019-01-26 15:34:55.538 1590-1590/? E/android.hardware.wifi@1.0-service: Failed to set DFS flag; DFS channels may be unavailable.
2019-01-26 15:34:55.548 1701-1701/? E/wificond: No Offload Service available
2019-01-26 15:35:13.683 2088-2195/? E/ActivityThread: Failed to find provider info for com.android.contacts
2019-01-26 15:35:19.833 1700-1732/? E/storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
2019-01-26 15:35:20.303 1974-2211/? E/ActivityThread: Failed to find provider info for com.android.contacts
2019-01-26 15:35:21.181 1974-2211/? E/ActivityThread: Failed to find provider info for com.android.contacts
2019-01-26 15:35:21.489 1974-2209/? E/ActivityThread: Failed to find provider info for com.android.contacts
2019-01-26 15:35:25.422 2304-2304/? E/ActivityThread: Failed to find provider info for com.google.android.gsf.gservices
2019-01-26 15:35:25.634 2304-2304/? E/ActivityThread: Failed to find provider info for com.google.android.gsf.gservices
2019-01-26 15:35:25.680 2304-2304/? E/ActivityThread: Failed to find provider info for com.google.android.gsf.gservices
2019-01-26 15:35:25.680 2304-2304/? E/ActivityThread: Failed to find provider info for com.google.android.gsf.gservices
2019-01-26 15:35:25.682 2304-2304/? E/ActivityThread: Failed to find provider info for com.google.android.gsf.gservices
2019-01-26 15:35:25.682 2304-2304/? E/ActivityThread: Failed to find provider info for com.google.android.gsf.gservices
2019-01-26 15:36:19.835 1700-1732/? E/storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
2019-01-26 15:36:24.102 2450-2497/? E/ActivityThread: Failed to find provider info for com.google.android.as.allapps.actionsettingprovider
2019-01-26 15:36:24.941 2450-2450/? E/SchedPolicy: set_timerslack_ns write failed: Operation not permitted
2019-01-26 15:36:58.617 2998-2998/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.nested.roloffbenjamin.plz, PID: 2998
java.lang.UnsatisfiedLinkError: No implementation found for java.lang.String com.nested.roloffbenjamin.plz.MainActivity.stringFromJNI()
1条答案
按热度按时间vpfxa7rd1#
在Unity中将项目构建到Android时,有一个设置为“导出项目”。这将为您生成一个有效的Gradle项目,您可以使用Android Studio打开该项目。