Comments (8)
Hello,
running gradle tasks --info
shows:
...
Evaluating project ':submodules:MemorizingTrustManager' using empty build file.
FAILURE: Build failed with an exception.
A problem occurred configuring project ':mobile'.
> Configuration with name 'default' not found.
Is it possible that the build.gradle in subproject 'mobile' cannot access the submodules of the root project?
from openhab-android.
gradle tasks --info
works for me. Could it be that you didn't checkout the git submodule?
from openhab-android.
Hi,
indeed, I hadn't checked out the submodule. I'm not familiar with the git submodules and assumed that gradle would somehow resolve the dependency. Is it normal that this manual step is necessary?
After checking out the submodule, I get errors in OpenHABMainActivity like
Error:(79, 23) error: cannot find symbol class MemorizingResponder or
Error:(863, 53) error: DECISION_INTENT is not public in MemorizingTrustManager; cannot be accessed from outside package
And I can't find for example a MemorizingResponder in the submodule (or anywhere else). Did I check out some wrong version?
You say that the branch doesn't compile in Android Studio. What kind of error is display?
from openhab-android.
I'm not familiar with the git submodules and assumed that gradle would somehow resolve the dependency. Is it normal that this manual step is necessary?
Gradle is agnostic of the used VCS. There is no relation between gradle and a submodule. Or in other words: Both are living on different layers.
Did I check out some wrong version?
submodules are always tied to a particular revision. So if you didn't (accidentally) issued the command to change that version, you will always get the version I've used.
I get the same (or at least) similar compiler warnings (which I already stated in the initial message). But it seems I got AS now at least working (I usually develop in Emacs or Eclipse). Let's see if I can update the PR to a buildable state. Stay tuned.
from openhab-android.
So what is this issue about at the end of the day? :-) I don't think that moving MTM into a separate project would make anything better.
from openhab-android.
I don't think that moving MTM into a separate project would make anything better.
I think it would (given you mean also that it would become a git submodule). For multiple reasons:
- It makes it easier to determine the currently used version of MTM
- You can easily update/replace MTM by changing the commit the git submodule points to
Older MTM version have some issues, and I can't determine (without comparing the source), if the one used by habdroid is affected.
from openhab-android.
Unless MTM project provide a usable external dependancy there is no option to separate it. There is some activity in the MTM project to publish the library. As soon as they do it, I will switch to this dependancy and remove MTM code from openHAB app.
from openhab-android.
Unless MTM project provide a usable external dependancy there is no option to separate it.
You can already use MTM by simply adding it as git submodule. Neither I or Ge0rg (as far as I know) plan to publish it as artifact to e.g. maven central.
from openhab-android.
Related Issues (20)
- SVG current color ignored sometimes in Main UI, but not in Desktop browser or sitemaps HOT 3
- Drawer menu button overlaps with action bar
- Widget for a switch - IMPOSSIBLE HOT 1
- Send device inforamation→Call state alternates colour of help link (question mark) HOT 1
- Dynamic icons causing way too many requests HOT 34
- Release version 3.7.0-release
- Map shows location only after a refresh HOT 2
- Grafana Diagram not displayed HOT 4
- Skipping local connections, when WiFi name cannot be read HOT 2
- On Try Again spell if local or remote connection is retried HOT 5
- `%s was not loaded to save data` is not translatable HOT 1
- Changing device orientation shall have no impact on data saving questions HOT 2
- In Chart element `icon=` is ignored HOT 1
- After `GenericItem.setCategory(…)` icons are not updated until manual reload HOT 3
- Hightlight in Chart period selection menus the currently rendered period
- Add configurable Offset to all DateTime items HOT 7
- In charts add an option “before”, while keeping the selected resolution HOT 2
- Toggles in sitemaps not equally aligned to the right
- CI: Wrong Java version is used HOT 1
- labelcolor for items with `{`…`}` ignored, when the item is unfolded HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openhab-android.