GitHub Issue | n/a |
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2018-02-17T01:03:22.000+0000 |
Affected Version/s | Release 7.0.2 |
Fix Version/s | Release 7.1.0 |
Components | Android |
Labels | 7.0.2RC, appcelerator, regression, sdk |
Reporter | Lorenzo Piccinini |
Assignee | Gary Mathews |
Created | 2018-02-04T17:04:16.000+0000 |
Updated | 2018-03-01T17:59:04.000+0000 |
I'm using 7.0.1, trying to switch to 7.0.2 RC I unable to run it to android and I get this error
error: incompatible types: Class cannot be converted to Class extends KrollSourceCodeProvider>
[ERROR] : (Class) Class.forName(className));
[ERROR] : ^
[ERROR] : Note: Some input files use unchecked or unsafe operations.
[ERROR] : Note: Recompile with -Xlint:unchecked for details.
[ERROR] : Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
[ERROR] : 1 error
[ERROR] Application Installer abnormal process termination. Process exit value was 1
Hello, Can you run through the terminal and get the trace log "appc run -p android -l trace"? Send the log in here. Thanks.
2018-02-05T00:18:56.226Z | DEBUG | [PLUGIN-LOAD] 0ms /Users/username/.appcelerator/install/7.0.2-6/package/appc.js 2018-02-05T00:18:56.306Z | DEBUG | [PLUGIN-LOAD] 78ms /Users/username/.appcelerator/install/7.0.2-6/package/node_modules/appc-cli-titanium/appc.js 2018-02-05T00:18:56.306Z | DEBUG | run plugin: /Users/username/.appcelerator/install/7.0.2-6/package/node_modules/appc-cli-titanium 2018-02-05T00:18:56.309Z | DEBUG | [PLUGIN-LOAD] 0ms /Users/username/.appcelerator/install/7.0.2-6/package/node_modules/arrow/appc.js 2018-02-05T00:18:56.311Z | DEBUG | run plugin: /Users/username/.appcelerator/install/7.0.2-6/package/node_modules/arrow 2018-02-05T00:18:56.329Z | TRACE | plugin "arrow" failed its "when" function check, skipping... 2018-02-05T00:18:56.330Z | TRACE | plugin "titanium" failed its "when" function check, skipping... 2018-02-05T00:18:56.332Z | TRACE | executing command "run" with the following plugins: [] 2018-02-05T00:18:56.334Z | ERROR | Error: No valid targets for run. Are you in a project folder? at /Users/username/.appcelerator/install/7.0.2-6/package/lib/commands/run.js:26:15 at /Users/username/.appcelerator/install/7.0.2-6/package/node_modules/async/lib/async.js:718:13 at iterate (/Users/username/.appcelerator/install/7.0.2-6/package/node_modules/async/lib/async.js:262:13) at async.forEachOfSeries.async.eachOfSeries (/Users/username/.appcelerator/install/7.0.2-6/package/node_modules/async/lib/async.js:281:9) at _parallel (/Users/username/.appcelerator/install/7.0.2-6/package/node_modules/async/lib/async.js:717:9) at Object.async.series (/Users/username/.appcelerator/install/7.0.2-6/package/node_modules/async/lib/async.js:739:9) at Object.run (/Users/username/.appcelerator/install/7.0.2-6/package/lib/commands/run.js:21:8) at /Users/username/.appcelerator/install/7.0.2-6/package/bin/commands/run.js:47:27 at executeWithPlugins (/Users/username/.appcelerator/install/7.0.2-6/package/lib/core.js:454:11) at fn (/Users/username/.appcelerator/install/7.0.2-6/package/node_modules/async/lib/async.js:746:34)
[~otto.pic] You need to execute that command inside your Titanium project folder Could you also provide the full log of the error you are receiving when running your app?
[download log here](http://www.smartappsdesign.com/log.txt)
master: https://github.com/appcelerator/titanium_mobile/pull/9821
[~gmathews], can you please provide a backport.
Backport is already provided, I changed the PR to
7_1_X
7_1_X: https://github.com/appcelerator/titanium_mobile/pull/9830
FR Passed. PR's merged.
Verified the fix in SDK 7.2.0.v20180301081409 & 7.1.0.v20180228160738. Closing. Studio Ver: 5.0.0.201712081732 OS Ver: 10.13.2 Xcode Ver: Xcode 9.2 Appc NPM: 4.2.12 Appc CLI: 7.0.2 Daemon Ver: 1.0.1 Ti CLI Ver: 5.0.14 Alloy Ver: 1.11.0 Node Ver: 8.9.1 NPM Ver: 5.5.1 Java Ver: 1.8.0_101 Devices: ⇨ google Nexus 6P — Android 8.0.0 ⇨ google Nexus 5 — Android 6.0.1