onebusaway-android | The official Android/Fire Phone app for OneBusAway | Web Services library
kandi X-RAY | onebusaway-android Summary
kandi X-RAY | onebusaway-android Summary
This is the official Android / Fire Phone app for OneBusAway, a project of the non-profit Open Transit Software Foundation!.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Create a bitmap for the bus stop stop icon .
- Refresh the arrival info table .
- Shows the tutorial view .
- Update UI .
- Internal query .
- Generate directions for a given leg .
- Setup the sliding panel .
- Sets up the headers of the trip .
- Initialize view .
- Compute the status label of an itinerary .
onebusaway-android Key Features
onebusaway-android Examples and Code Snippets
Community Discussions
Trending Discussions on onebusaway-android
QUESTION
I'm using the AndroidJUnitRunner in my project, but the unit tests are painfully slow to execute on a device and emulator both in Android Studio and from the command-line via gradlew
.
I'm using the master branch of this open-source project, OneBusAway (as of this commit): https://github.com/OneBusAway/onebusaway-android
I'm seeing execution time of all 142 tests that is upwards of 3 minutes in real elapsed time, but Android only registers a smaller portion of this in the execution time it shows under "Test Results". Before switching to the AndroidJUnitRunner all of these unit tests executed under 20 seconds consistently.
Here's what an example test looks like:
...ANSWER
Answered 2018-Jul-06 at 19:03Apparently the slowdown is related to including a dependency on Android Test Orchestrator, which I don't need (even if I'm running tests on a device that require an Android context). It wasn't clear to me from the existing documentation that Orchestrator wasn't required for these tests.
I removed the following lines from build.gradle
, and my total execution time via Android Studio dropped back down into the ~15 second range:
QUESTION
I have SSH set up to authenticate with Github from both Android Studio (3.0.1 - Build #AI-171.4443003) and IntelliJ (2017.3.4 - Build 173.4548.28) and everything was working fine up until yesterday (February 22, 2018).
All of a sudden today (February 23, 2018) when I tried to push or pull anything to/from Github in either IntelliJ or Android Studio it fails, and I get this message in the "Version Control Console":
...ANSWER
Answered 2018-Mar-30 at 02:45Solution:
For IntelliJ - Update to IntelliJ 2018.1 or 2017.3.5 (173.4674.1).
For Android Studio - Update to Android Studio 3.1 see this comment on issue tracker.
Background:
Github triggered this on February 23, 2018 by permanently removing support for weak cryptographic standards:
https://github.com/blog/2507-weak-cryptographic-standards-removed
However, IntelliJ and Android Studio still have issues with some SSH handshakes using strong security ciphers:
- IntelliJ issue - https://youtrack.jetbrains.com/issue/IDEA-140196
- Android Studio issue - https://issuetracker.google.com/issues/73804233
This underlying issue has been fixed in IntelliJ 2018.1: https://youtrack.jetbrains.com/issue/IDEA-140196#comment=27-2717976
...as well as 2017.3.5 (173.4674.1).
For Android Studio, the fix is available in Studio 3.1 see this comment on issue tracker.
As @Been Kyung Yoon mentions in his answer as a workaround you can change the SSH executable to "Native", but as mentioned in the IntelliJ issue note that:
Switching to Native will work, but if your keys are passphrase-protected, you will need to load them into ssh-agent first
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install onebusaway-android
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page