Aeronat
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2017
02:50 PM
Eclipse Error When Sideloading
Hello,
I am having a problem that I am unable to resolve.
For any package that I am trying to sideload to my Roku device, I am getting the following error:
=================================================================
An error occurred while attempting to install the application:
------->Unzip failed. Invalid or corrupt zip archive. Unloading.
I have done some research, and I see that this may be due to the package being signed. However, prior to the first occurrence of this issue, I was able to use the same package without any issues.
Any help with this is appreciated.
I am having a problem that I am unable to resolve.
For any package that I am trying to sideload to my Roku device, I am getting the following error:
=================================================================
An error occurred while attempting to install the application:
------->Unzip failed. Invalid or corrupt zip archive. Unloading.
I have done some research, and I see that this may be due to the package being signed. However, prior to the first occurrence of this issue, I was able to use the same package without any issues.
Any help with this is appreciated.
5 REPLIES 5
destruk
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2017
03:26 PM
Re: Eclipse Error When Sideloading
Roku will not load package files as side-loaded applications, only zip files.
The only local use of a pkg file is to rekey the device with the developer key used to sign the package.
The only local use of a pkg file is to rekey the device with the developer key used to sign the package.
Aeronat
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2017
03:58 PM
Re: Eclipse Error When Sideloading
Perhaps I did not word my initial post properly.
In the "out" folder in my Brightscript Project on Eclipse, I do have a *.zip file which I am trying to load into the Roku device, not a package file.
This is the error I have after trying to export the *.zip file in eclipse:
Unable to install application to Roku Box at IP Address '192.168.0.5'
Reason:
java.io.IOException: Error writing to server
at
sun.net.www.protocol.http.HttpURLConnection.writeRequests(Unknown Source)
at
sun.net.www.protocol.http.HttpURLConnection.writeRequests(Unknown Source)
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at
java.net.HttpURLConnection.getResponseCode(Unknown Source)
at
com.roku.brightscript.ide.eclipse.core.comms.HTTPClientWithProgress$UrlConnectionRunnable.run(HTTPClientWithProgress.java:441)
at
java.lang.Thread.run(Unknown Source)
This error is followed by this dialog:
Unable to package application on Roku Box at IP Address '192.168.0.5'
Reason:
Unexpected response:
<meta HTTP-EQUIV="REFRESH" content="0; url=plugin_install">
And this is the error in the console:
=================================================================
An error occurred while attempting to install the application:
------->Unzip failed. Invalid or corrupt zip archive. Unloading.
In the "out" folder in my Brightscript Project on Eclipse, I do have a *.zip file which I am trying to load into the Roku device, not a package file.
This is the error I have after trying to export the *.zip file in eclipse:
Unable to install application to Roku Box at IP Address '192.168.0.5'
Reason:
java.io.IOException: Error writing to server
at
sun.net.www.protocol.http.HttpURLConnection.writeRequests(Unknown Source)
at
sun.net.www.protocol.http.HttpURLConnection.writeRequests(Unknown Source)
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at
java.net.HttpURLConnection.getResponseCode(Unknown Source)
at
com.roku.brightscript.ide.eclipse.core.comms.HTTPClientWithProgress$UrlConnectionRunnable.run(HTTPClientWithProgress.java:441)
at
java.lang.Thread.run(Unknown Source)
This error is followed by this dialog:
Unable to package application on Roku Box at IP Address '192.168.0.5'
Reason:
Unexpected response:
<meta HTTP-EQUIV="REFRESH" content="0; url=plugin_install">
And this is the error in the console:
=================================================================
An error occurred while attempting to install the application:
------->Unzip failed. Invalid or corrupt zip archive. Unloading.
renojim
Community Streaming Expert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2017
10:00 PM
Re: Eclipse Error When Sideloading
Why don't you try uploading the zip that Eclipse created using the web interface built into the Roku? At least you'd know whether or not it's really a problem with the zip.
-JT
-JT
Roku Community Streaming Expert
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.
coldrain
Binge Watcher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2017
02:56 PM
Re: Eclipse Error When Sideloading
I see it frequently have have some workarounds, all work:
- Either go to web interface and erase the current zip/package (everything), close eclipse. Open it and try again. If not, erase and reboot roku
- Or just go to the web interface and download the package. It's already created but just a matter of some communication in downloading the package.
- And sometime I also use JT's workaround above
- Either go to web interface and erase the current zip/package (everything), close eclipse. Open it and try again. If not, erase and reboot roku
- Or just go to the web interface and download the package. It's already created but just a matter of some communication in downloading the package.
- And sometime I also use JT's workaround above
sdpetersen
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2018
06:08 AM
Re: Eclipse Error When Sideloading
For anyone finding this later, like me, I had the same problem. It started after I experienced a power bump that reset my computer.
Solution: I found that the reset erased the selected files on the BrightScript Application Deployment box. Once I checked the right files, all worked again.
Solution: I found that the reset erased the selected files on the BrightScript Application Deployment box. Once I checked the right files, all worked again.